diff options
Diffstat (limited to '.github/workflows/release-trigger-prod.yml')
| -rw-r--r-- | .github/workflows/release-trigger-prod.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/release-trigger-prod.yml b/.github/workflows/release-trigger-prod.yml new file mode 100644 index 00000000..e111bec6 --- /dev/null +++ b/.github/workflows/release-trigger-prod.yml @@ -0,0 +1,30 @@ +name: Deploy to Trigger.dev (prod) + +on: + push: + branches: + - main + paths: + - 'trigger/**' + 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 + + - name: 🚀 Deploy Trigger.dev + env: + TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }} + run: | + npx trigger.dev@beta deploy --skip-typecheck |