Skip to content

Commit

Permalink
run deploy only when the repo is jeremysinger/capabilitiesforcoders
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-xu committed Dec 25, 2023
1 parent af3efd8 commit d963985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
needs: build
steps:
- name: deploy
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'jeremysinger/capabilitiesforcoders'
env:
DEPLOY_HOOK_URL: ${{ secrets.DEPLOY_HOOK_URL }}
run: |
Expand Down

0 comments on commit d963985

Please sign in to comment.