aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release-trigger-prod.yml
blob: bdfa60d51ea5a92690159c3f16e462faf2be0a6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Deploy to Trigger.dev (prod)

on:
  push:
    branches:
      - main
    paths:
      - 'src/trigger/**'
      - 'trigger.config.*'
      - 'package.json'
  workflow_dispatch:

jobs:
  deploy:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: Use Node.js 20.x
        uses: actions/setup-node@v4
        with:
          node-version: '20.x'

      - name: Install dependencies
        run: npm install --force

      - name: 🚀 Deploy Trigger.dev
        env:
          TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }}
        run: |
          npx trigger.dev@beta deploy --skip-typecheck