Skip to content

Commit

Permalink
Only trigger deployment when pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
juntao authored Jul 11, 2024
1 parent 2f31b21 commit 8100830
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
deploy:
runs-on: ubuntu-20.04
needs: build
if: github.event_name == 'push'
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 8100830

Please sign in to comment.