Skip to content

Commit

Permalink
Add permission documentation for GITHUB_TOKEN
Browse files Browse the repository at this point in the history
When following the docs verbatim, Github Actions fail with a `403` error since the default setting of the `GITHUB_TOKEN` is read-only.
  • Loading branch information
actuallymentor committed Sep 2, 2024
1 parent 7a831e3 commit 3c0804e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ this secret yourself - GitHub sets it automatically.
If you omit this option, you'll need to find the preview URL in the action's
build log.
For this to work your `GITHUB_TOKEN` permissions must be set to "Read and write permissions". This is set in your repository settings under `Actions > General > Workflow permissions`.

### `expires` _{string}_

The length of time the preview channel should remain active after the last deploy.
Expand Down

0 comments on commit 3c0804e

Please sign in to comment.