Skip to content

Commit

Permalink
deploy page only on push
Browse files Browse the repository at this point in the history
  • Loading branch information
shawn111 committed Dec 25, 2023
1 parent ec0e3d7 commit 996487e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- run: mdbook build

- name: Deploy
if: ${{ github.event_name == 'push' }}
uses: peaceiris/actions-gh-pages@v3
# if: ${{ github.ref == 'refs/heads/main' }}
with:
Expand Down

0 comments on commit 996487e

Please sign in to comment.