rterakedis / rterakedis.github.io

Personal blog and website for https://github.com/rterakedis
https://blog.euc-rt.me
1 stars 0 forks source link

post/github-actions-publish-private-hugo-repo-to-public-pages-site/ #9

Closed utterances-bot closed 6 months ago

utterances-bot commented 2 years ago

Using GitHub Actions to Publish Hugo Site From Private to Public Repo - Robert Terakedis

Keeping ideas and drafts private until they're fully baked

https://blog.euc-rt.me/post/github-actions-publish-private-hugo-repo-to-public-pages-site/

sgloutnikov commented 2 years ago

Thanks for the post! I was just looking into how to implement this myself and found your post which cleared some things up for me. The only thing I would recommend is, instead of using the 'Personal Access Token' to use 'Deploy keys' of the public repository. It's a bit more secure in case the secret token leaks--the token is only for the public repository instead of your entire GitHub account.

rterakedis commented 2 years ago

@sgloutnikov - Glad to hear the post helped you out! Also, thank you for the recommendation, this is an awesome suggestion! I'm definitely going to implement this for my blog. Much appreciated! Have a happy holiday season!