peaceiris/actions-hugo

support: Custom Domain Support

elibroftw opened this issue · 3 comments

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

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.

...

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.