File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1313 cancel-in-progress : false
1414 env :
1515 TRIGGER_ACCESS_TOKEN : ${{ secrets.TRIGGER_ACCESS_TOKEN }}
16+ TRIGGER_PROJECT_ID : ${{ secrets.TRIGGER_PROJECT_ID }}
1617
1718 steps :
1819 - name : Checkout code
@@ -32,11 +33,12 @@ jobs:
3233 run : bun install
3334
3435 - name : Deploy to Trigger.dev (Staging)
35- if : github.event_name == 'push' && github. ref == 'refs/heads/staging'
36+ if : github.ref == 'refs/heads/staging'
3637 working-directory : ./apps/sim
3738 run : npx --yes trigger.dev@4.0.4 deploy -e staging
3839
3940 - name : Deploy to Trigger.dev (Production)
40- if : github.event_name == 'push' && github. ref == 'refs/heads/main'
41+ if : github.ref == 'refs/heads/main'
4142 working-directory : ./apps/sim
4243 run : npx --yes trigger.dev@4.0.4 deploy
44+
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { defineConfig } from '@trigger.dev/sdk'
22import { env } from './lib/env'
33
44export default defineConfig ( {
5- project : env . TRIGGER_PROJECT_ID ?? '' ,
5+ project : env . TRIGGER_PROJECT_ID ! ,
66 runtime : 'node' ,
77 logLevel : 'log' ,
88 maxDuration : 600 ,
You can’t perform that action at this time.
0 commit comments