support: Can't deploy a Hugo site due to "The requested URL returned error: 403"
See original GitHub issueChecklist
- I am using the latest version of this action.
- I have read the latest README and followed the instructions.
- I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.
Describe your question
I have a personal repo and I want deploy this site. But I can’t due to The requested URL returned error: 403
error. Why it happens? What am I missing to successfully deploy my site? As I understand:
- site is being built to
public
folder - this folder contents is pushed to
gh-pages
gh-pages
is used to deploy site
Is it right? Why there is no gh-pages
branch created after any new commit?
Relevant links
Public repository: https://github.com/EmilySeville7cfg/EmilySeville7cfg.github.io
YAML config: https://github.com/EmilySeville7cfg/EmilySeville7cfg.github.io/blob/master/config.yml
YAML workflow: https://github.com/EmilySeville7cfg/EmilySeville7cfg.github.io/blob/master/.github/workflows/cd.yml
Relevant log output
Additional context.
No response
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
The requested URL returned error: 403 Forbidden #39 - GitHub
403 means credentials errors or that you don't have permission to push.
Read more >How to solve the requested URL returned error: 403 in git ...
This is basically an auth issue and git had stored my creds for both bitbucket and github. All I had to do was...
Read more >What Is the 403 Forbidden Error and How to Fix It (8 Methods ...
403 Forbidden – you don't have permission to access this resource is an HTTP status code that occurs when the web server understands...
Read more >Netlify Site Does Not Deploy - support - Hugo Discourse
I'm having a lot of trouble trying to get my site to deploy on Netlify. Running into errors like… Error: Unable to find...
Read more >How to Fix a 403 Forbidden Error on Your WordPress Site
The 403 Forbidden error indicates that the server understood the request but refuses to authorize it. Find out more about the causes and ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is the same as the issue https://github.com/peaceiris/actions-gh-pages/issues/742#issuecomment-1114440714
Please change the repository setting (Go to
Actions
>General
>Workflow permissions
) as follows:Read and write permissions
would be nic if a notice about this is added to the documentation