Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
packages: write
id-token: write

# Deploy Trigger.dev with skip-promotion (after builds complete to ensure atomicity)
# Deploy Trigger.dev (after builds complete)
trigger-deploy:
name: Deploy Trigger.dev
needs: build-images
Expand All @@ -49,18 +49,10 @@ jobs:
uses: ./.github/workflows/migrations.yml
secrets: inherit

# Promote Trigger.dev deployment after ECS completes
trigger-promote:
name: Promote Trigger.dev
needs: migrations
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging')
uses: ./.github/workflows/trigger-promote.yml
secrets: inherit

# Process docs embeddings if needed
process-docs:
name: Process Docs
needs: trigger-promote
needs: migrations
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging')
uses: ./.github/workflows/docs-embeddings.yml
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/trigger-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
- name: Deploy to Trigger.dev (Staging)
if: github.ref == 'refs/heads/staging'
working-directory: ./apps/sim
run: npx --yes trigger.dev@4.0.4 deploy -e staging --skip-promotion
run: npx --yes trigger.dev@4.0.4 deploy -e staging

- name: Deploy to Trigger.dev (Production)
if: github.ref == 'refs/heads/main'
working-directory: ./apps/sim
run: npx --yes trigger.dev@4.0.4 deploy --skip-promotion
run: npx --yes trigger.dev@4.0.4 deploy
42 changes: 0 additions & 42 deletions .github/workflows/trigger-promote.yml

This file was deleted.