File tree Expand file tree Collapse file tree 3 files changed +4
-54
lines changed
Expand file tree Collapse file tree 3 files changed +4
-54
lines changed Original file line number Diff line number Diff line change 2828 packages : write
2929 id-token : write
3030
31- # Deploy Trigger.dev with skip-promotion (after builds complete to ensure atomicity )
31+ # Deploy Trigger.dev (after builds complete)
3232 trigger-deploy :
3333 name : Deploy Trigger.dev
3434 needs : build-images
@@ -49,18 +49,10 @@ jobs:
4949 uses : ./.github/workflows/migrations.yml
5050 secrets : inherit
5151
52- # Promote Trigger.dev deployment after ECS completes
53- trigger-promote :
54- name : Promote Trigger.dev
55- needs : migrations
56- if : github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging')
57- uses : ./.github/workflows/trigger-promote.yml
58- secrets : inherit
59-
6052 # Process docs embeddings if needed
6153 process-docs :
6254 name : Process Docs
63- needs : trigger-promote
55+ needs : migrations
6456 if : github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging')
6557 uses : ./.github/workflows/docs-embeddings.yml
6658 secrets : inherit
Original file line number Diff line number Diff line change 3434 - name : Deploy to Trigger.dev (Staging)
3535 if : github.ref == 'refs/heads/staging'
3636 working-directory : ./apps/sim
37- run : npx --yes trigger.dev@4.0.4 deploy -e staging --skip-promotion
37+ run : npx --yes trigger.dev@4.0.4 deploy -e staging
3838
3939 - name : Deploy to Trigger.dev (Production)
4040 if : github.ref == 'refs/heads/main'
4141 working-directory : ./apps/sim
42- run : npx --yes trigger.dev@4.0.4 deploy --skip-promotion
42+ run : npx --yes trigger.dev@4.0.4 deploy
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments