Skip to content

Deploy using GitHub Actions when using a Turborepo monorepo. #1471

Closed Answered by j-fdion
j-fdion asked this question in Q&A
Discussion options

You must be logged in to vote

Here's a working solution:

I add this step in my github action file.

    trigger:
      runs-on: ubuntu-latest
      steps:
        - uses: actions/checkout@v4
  
        - name: Setup
          uses: ./tooling/github/setup
  
        - name: Deploy Trigger.dev
          working-directory: ./packages/trigger
          env:
            TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }}
          run: pnpm dlx trigger.dev@latest deploy --env staging

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by j-fdion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant