Skip to content

Commit

Permalink
feat: running on gha
Browse files Browse the repository at this point in the history
  • Loading branch information
antusus committed Nov 23, 2024
1 parent cca734c commit 389adc7
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Publis to GitHub Pages
on: [ push ]
on:
push:
branches:
- master
- v2
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -13,7 +17,9 @@ jobs:
uses: borales/actions-yarn@v4
with:
cmd: install
- name: Deploy (build & test)
uses: borales/actions-yarn@v4
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
cmd: deploy
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_branch: gh-pages

0 comments on commit 389adc7

Please sign in to comment.