Skip to content

Commit 356355f

Browse files
committed
Move trigger
1 parent 27b05ad commit 356355f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,6 @@ jobs:
159159
provenance: false
160160
sbom: false
161161

162-
# Deploy Trigger.dev (after ECR images are pushed)
163-
trigger-deploy:
164-
name: Deploy Trigger.dev
165-
needs: build-amd64
166-
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging')
167-
uses: ./.github/workflows/trigger-deploy.yml
168-
secrets: inherit
169-
170162
# Create GHCR multi-arch manifests (only for main, after both builds)
171163
create-ghcr-manifests:
172164
name: Create GHCR Manifests
@@ -206,7 +198,15 @@ jobs:
206198
"${IMAGE_BASE}:${{ github.sha }}-arm64"
207199
docker manifest push "${IMAGE_BASE}:${{ github.sha }}"
208200
209-
# Process docs embeddings (only needs ECR images from build-amd64)
201+
# Deploy Trigger.dev (after ECR images are pushed, runs in parallel with process-docs)
202+
trigger-deploy:
203+
name: Deploy Trigger.dev
204+
needs: build-amd64
205+
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging')
206+
uses: ./.github/workflows/trigger-deploy.yml
207+
secrets: inherit
208+
209+
# Process docs embeddings (after ECR images are pushed, runs in parallel with trigger-deploy)
210210
process-docs:
211211
name: Process Docs
212212
needs: build-amd64

0 commit comments

Comments
 (0)