Commit 70f5fad
authored
fix: gh-pages.yml permissions
We had the error on `gh-pages` actions workflow.
This might fix this.
Source: https://github.com/marketplace/actions/github-pages-action#%EF%B8%8F-first-deployment-with-github_token
> If the action fails to push the commit or tag with the following error:
> ```shell
> /usr/bin/git push origin gh-pages
> remote: Write access to repository not granted.
> fatal: unable to access 'https://github.com/username/repository.git/': The requested URL returned error: 403
> Error: Action failed with "The process '/usr/bin/git' failed with exit code 128"
> ```
> Please add the `write` permission to the `permissions.contents` in a workflow/job.
> ```yml
> permissions:
> contents: write
> ```1 parent 06578e4 commit 70f5fad
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
0 commit comments