We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97f69a2 commit 896f7bbCopy full SHA for 896f7bb
.github/workflows/trigger-deploy.yml
@@ -32,11 +32,11 @@ jobs:
32
run: bun install
33
34
- name: Deploy to Trigger.dev (Staging)
35
- if: github.ref == 'refs/heads/staging'
+ if: github.event_name == 'push' && github.ref == 'refs/heads/staging'
36
working-directory: ./apps/sim
37
run: npx --yes [email protected] deploy -e staging
38
39
- name: Deploy to Trigger.dev (Production)
40
- if: github.ref == 'refs/heads/main'
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main'
41
42
run: npx --yes [email protected] deploy
0 commit comments