Skip to content

Commit 67c993d

Browse files
authored
fix(ci): remove atomic updates for trigger (#1478)
1 parent 38dd2d0 commit 67c993d

File tree

3 files changed

+4
-54
lines changed

3 files changed

+4
-54
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
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

.github/workflows/trigger-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
- name: Deploy to Trigger.dev (Staging)
3535
if: github.ref == 'refs/heads/staging'
3636
working-directory: ./apps/sim
37-
run: npx --yes [email protected] deploy -e staging --skip-promotion
37+
run: npx --yes [email protected] 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 [email protected] deploy --skip-promotion
42+
run: npx --yes [email protected] deploy

.github/workflows/trigger-promote.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)