Skip to content

Commit 8d3b803

Browse files
committed
Added section on creating PATs for Github actions
1 parent 9efda9e commit 8d3b803

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

docs/github-actions.mdx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,19 @@ jobs:
7777
7878
If you already have a GitHub action file, you can just add the final step "🚀 Deploy Trigger.dev" to your existing file.
7979
80-
You need to add the `TRIGGER_ACCESS_TOKEN` secret to your repository. You can create a new access token by going to your profile page and then clicking on the ["Personal Access Tokens"](https://cloud.trigger.dev/account/tokens) tab.
80+
### Creating a Personal Access Token
8181
82-
To set it in GitHub go to your repository, click on "Settings", "Secrets and variables" and then "Actions". Add a new secret with the name `TRIGGER_ACCESS_TOKEN` and use the value of your access token.
82+
<Steps>
8383
84-
<Accordion title="How to add TRIGGER_ACCESS_TOKEN in GitHub">
85-
1. Go to your repository on GitHub.
86-
2. Click on "Settings".
87-
3. Click on "Secrets and variables" -> "Actions"
88-
4. Click on "New repository secret".
89-
5. Add the name `TRIGGER_ACCESS_TOKEN` and the value of your access token.
84+
<Step title="Create a new access token">Go to your profile page and click on the ["Personal Access Tokens"](https://cloud.trigger.dev/account/tokens) tab.</Step>
85+
86+
<Step title="Go to your repository on GitHub.">Click on 'Settings' -> 'Secrets and variables' -> 'Actions' -> 'New repository secret'</Step>
87+
88+
<Step title="Add the TRIGGER_ACCESS_TOKEN">Add the name `TRIGGER_ACCESS_TOKEN` and the value of your access token. ![Add TRIGGER_ACCESS_TOKEN in GitHub](/images/github-access-token.png)</Step>
89+
90+
</Steps>
9091

91-
![Add TRIGGER_ACCESS_TOKEN in GitHub](/images/github-access-token.png)
9292

93-
</Accordion>
9493

9594
## Version pinning
9695

0 commit comments

Comments
 (0)