improvement(trigger): increase maxDuration for background tasks to 10 min to match sync API executions #4480
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main, staging] | |
| pull_request: | |
| branches: [main, staging] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| test-build: | |
| name: Test and Build | |
| uses: ./.github/workflows/test-build.yml | |
| secrets: inherit | |
| # Build and push images (ECR for staging, ECR + GHCR for main) | |
| build-images: | |
| name: Build Images | |
| needs: test-build | |
| if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging') | |
| uses: ./.github/workflows/images.yml | |
| secrets: inherit | |
| permissions: | |
| contents: read | |
| packages: write | |
| id-token: write | |
| # Deploy Trigger.dev (after builds complete) | |
| trigger-deploy: | |
| name: Deploy Trigger.dev | |
| needs: build-images | |
| if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging') | |
| uses: ./.github/workflows/trigger-deploy.yml | |
| secrets: inherit | |
| # Process docs embeddings if needed | |
| process-docs: | |
| name: Process Docs | |
| needs: [build-images, trigger-deploy] | |
| if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging') | |
| uses: ./.github/workflows/docs-embeddings.yml | |
| secrets: inherit |