support: Custom Domain Support
elibroftw opened this issue · 3 comments
elibroftw commented
Checklist
- 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
My custom domain is removed every time I push to my default branch. There is no CNAME being created and it screws everything up. Is there a way to use a different branch than gh-pages
? Something like hugo-public
? That way github can remember my custom domain. As of now I feel like this action has wasted more time than saved me :(
Relevant links
Public repository: https://github.com/elibroftw/blog.elijahlopez.ca
YAML config: https://github.com/elibroftw/blog.elijahlopez.ca/blob/master/config.yaml
YAML workflow: https://github.com/elibroftw/blog.elijahlopez.ca/actions/runs/3544922088/workflow
Relevant log output
Additional context.
...
elibroftw commented
peaceiris commented
- Recommended
static/CNAME
https://gohugo.io/hosting-and-deployment/hosting-on-github/#use-a-custom-domain - Option
cname
input https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-add-cname-file-cname
github-actions commented