Update all non-major dependencies #1219
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: Trigger | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: task-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| jobs: | |
| deploy-staging: | |
| runs-on: ubuntu-latest | |
| name: Deploy Staging | |
| if: ${{ github.event_name == 'pull_request' }} | |
| env: | |
| DOTENV_PRIVATE_KEY: ${{ secrets.DOTENV_PRIVATE_KEY }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Dependencies | |
| uses: ./tooling/github/setup | |
| - name: Build | |
| run: | | |
| pnpm run build | |
| - name: Deploy to Trigger.dev Staging | |
| env: | |
| TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }} | |
| run: | | |
| pnpm dotenvx run -f .env -- pnpm run task:deploy | |
| deploy-production: | |
| runs-on: ubuntu-latest | |
| name: Deploy Production | |
| if: ${{ github.event_name != 'pull_request' }} | |
| env: | |
| DOTENV_PRIVATE_KEY_PRODUCTION: ${{ secrets.DOTENV_PRIVATE_KEY_PRODUCTION }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Dependencies | |
| uses: ./tooling/github/setup | |
| - name: Build | |
| run: | | |
| pnpm run build | |
| - name: Deploy to Trigger.dev Production | |
| env: | |
| TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN_PRODUCTION }} | |
| run: | | |
| pnpm dotenvx run -f .env.production -- pnpm run task:deploy |