Skip to content

Commit

Permalink
ci: add gh-pages workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed Jan 1, 2024
1 parent 50eb9b5 commit 5070797
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
branches: [master]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Build app
run: |
yarn
yarn build
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist

0 comments on commit 5070797

Please sign in to comment.