Skip to content

Commit

Permalink
add gha
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Aug 18, 2023
1 parent a0b4b3c commit cbe5d82
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ghp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build + deploy to GitHub Pages
on:
push:
branches: [ main ]
pull_request:
branches: [ "**" ]
jobs:
build-and-deploy:
name: Build and deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install
- run: npm run gha-export
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
branch: gh-pages
folder: build
clean: true
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit cbe5d82

Please sign in to comment.