Skip to content

Commit

Permalink
added gh actions for deploying to gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
hamer0 committed Jul 31, 2023
1 parent 97ff2da commit ae32565
Show file tree
Hide file tree
Showing 3 changed files with 400 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/ghp-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "ghp-deploy"

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- name: Deploy
run: npm run ghp-deploy
Loading

0 comments on commit ae32565

Please sign in to comment.