GitHub Actions example
This simple GitHub action workflow will deploy your Trigger.dev tasks when new code is pushed to themain branch and the trigger directory has changes in it.
Creating a Personal Access Token
1
Create a new access token
Go to your profile page and click on the “Personal Access
Tokens” tab.
2
Go to your repository on GitHub.
Click on ‘Settings’ -> ‘Secrets and variables’ -> ‘Actions’ -> ‘New repository secret’
3
Add the TRIGGER_ACCESS_TOKEN
Add the name
TRIGGER_ACCESS_TOKEN and the value of your access token. 
