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

Setup GitHub Action to deploy site #3018

Closed
nschonni opened this issue Mar 13, 2020 · 2 comments
Closed

Setup GitHub Action to deploy site #3018

nschonni opened this issue Mar 13, 2020 · 2 comments

Comments

@nschonni
Copy link
Member

@XhmikosR want to draft up a GitHub Action for this? If I can encrypt and store a secret that has an SSH key then we could isolate it to a single user account on the server and push content up directly. It'll need to be two step - 1) rsync content and 2) run an ssh command on the server to queue an invalidation of our cloudflare cached content. As long as we have strong assurance of the secret content not getting leaked then it could be a good way of pulling back control of this process into this repo rather than relying so much on build-infra to support when things go wrong.

Originally posted by @rvagg in #3014 (comment)

@nschonni
Copy link
Member Author

Just pulling the conversation out so it's a little more obvious if someone goes looking.

For the SSH key, it seems like GitHub supports it through Deploy Keys that are repo specific https://developer.github.com/v3/guides/managing-deploy-keys/

@ovflowd
Copy link
Member

ovflowd commented Mar 12, 2023

I've made a GitHub action for GitHub Pages, but needs to be updated with basePath, working on a PR now, but this can be closed already.

@ovflowd ovflowd closed this as completed Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants