Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to publish from gh-pages branch #277

Closed
rishabh-parekh opened this issue Apr 27, 2020 · 3 comments
Closed

How to publish from gh-pages branch #277

rishabh-parekh opened this issue Apr 27, 2020 · 3 comments
Assignees
Labels
resolved resolved issue support User support

Comments

@rishabh-parekh
Copy link

Describe the bug
I used this in Github action/workflow in my repo, and though the workflow was successful, I wasn't able to see site on my github pages. Hence I commented the deploy step and of the job, and used the manual approach as explained in this page (https://gohugo.io/hosting-and-deployment/hosting-on-github/)

To Reproduce
Steps to reproduce the behavior:
Here is my repo and workflow.
https://github.com/rishabh-parekh/monk/tree/master/.github/workflows

I had tried Git Hub pages on both master and gh-pages branch, but on any commit to the master, I didn't see the website.

Is there was way to debug the action, to know where it is deploying. I am probably missing some doc/step.

Expected behavior
I should have seen my static site on the git hub page. I can see it now using my manual push of the content to the gh-pages branch (https://rishabh-parekh.github.io/monk/#/)

Your YAML file
https://github.com/rishabh-parekh/monk/tree/master/.github/workflows

If there is an example website with the workflow configured, that would be very useful.

Thanks, Rishabh.

@rishabh-parekh rishabh-parekh added the bug Something isn't working label Apr 27, 2020
@rishabh-parekh
Copy link
Author

Closing this issue, I think it is working, not sure what was the reason my action/workflow was failing earlier.

@peaceiris peaceiris added support User support and removed bug Something isn't working labels Apr 28, 2020
@peaceiris
Copy link
Owner

I think you just forgot to enable the GitHub Pages on your repository.

See the documentation First Deployment with GITHUB_TOKEN - peaceiris/actions-gh-pages

@peaceiris peaceiris added the resolved resolved issue label Jun 25, 2021
@github-actions
Copy link

This issue has been LOCKED because of it being resolved!

The issue has been fixed and is therefore considered resolved.
If you still encounter this or it has changed, open a new issue instead of responding to solved ones.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolved resolved issue support User support
Projects
None yet
Development

No branches or pull requests

2 participants