Skip to content

Commit

Permalink
ci: add constraint for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Zxilly committed May 26, 2024
1 parent 3238a4d commit b64c511
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-explorer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:

deploy:
if: ${{ github.event_name == 'push' }}
needs: build_explorer
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit b64c511

Please sign in to comment.