Skip to content

Commit

Permalink
docs: replace image with url of githubusercontent
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed May 16, 2022
1 parent 48d3b49 commit 2fe1501
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -563,14 +563,16 @@ The `GITHUB_TOKEN` has limitations for the first deployment so we have to select

If the action fails to push the commit or tag with the following error:

> /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"
```txt
/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"
```

Navigate to your repository's settings / actions / general and in the "Workflow permissions" section, select "Read and write permissions":

![](./images/settings_permissions.png)
![Enabling Read and write permissions to the GITHUB_TOKEN on GitHub Actions](https://user-images.githubusercontent.com/30958501/168609359-242f59a9-34c6-4272-9793-d6b2cc823837.png)


### ⭐️ Use the latest and specific release
Expand Down
Binary file removed images/settings_permissions.png
Binary file not shown.

0 comments on commit 2fe1501

Please sign in to comment.