peaceiris / actions-hugo

GitHub Actions for Hugo ⚡️ Setup Hugo quickly and build your site fast. Hugo extended, Hugo Modules, Linux (Ubuntu), macOS, and Windows are supported.
https://github.com/marketplace/actions/hugo-setup
MIT License
1.41k stars 84 forks source link

support: Custom Domain Support #624

Closed elibroftw closed 1 year ago

elibroftw commented 1 year ago

Checklist

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

https://pipelines.actions.githubusercontent.com/serviceHosts/80c54f74-035f-451b-a124-6e9500d7690f/_apis/pipelines/1/runs/252/signedlogcontent/2?urlExpires=2022-11-25T02%3A57%3A39.5388191Z&urlSigningMethod=HMACV1&urlSignature=VEl%2B%2FhtmFX80qunhZLb60rVt%2B2CUS2%2FA2X5%2FG1Fd0%2FA%3D

Additional context.

...

elibroftw commented 1 year ago

Used custom solution https://github.com/elibroftw/blog.elijahlopez.ca/blob/master/.github/workflows/gh-pages.yml

peaceiris commented 1 year ago
github-actions[bot] commented 1 year ago

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.

Log | Bot Usage