Host Website of Github with local copy on server #21955
-
Good evening! Long ago - during some downtime of my server - I had the idea to host my (mainly static) website on GitHub. Unfortunately, custom domains do not work with HTTPS/SSL, which is the decisive fact not to do it. Anyways, I’d like to store my content mainly on my Laptop. I use the GitHub program and every time I’d change something I would push it to my project, right? And then I would like to “pull” (?) it to my server. Is this possible? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @niclasreich, This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our Community organized so users can more easily find information. As you’ll notice, your Topic is now in the Pages board. You can continue the conversation as normal here. |
Beta Was this translation helpful? Give feedback.
-
It sounds like what you’d like to do is have the code from your repository deploy to your server, is that correct? If so, this is definitely possible, but requires some configuration. We have a guide that describes how to build a server that uses the Deployments API to easily get your code from GitHub into production here: https://developer.github.com/v3/guides/delivering-deployments/ Alternatively, you could use the GitHub Auto-Deployment service to receive changes made to your repository and configure it to deliver a deployment to integrators: https://developer.github.com/v3/guides/automating-deployments-to-integrators/ |
Beta Was this translation helpful? Give feedback.
It sounds like what you’d like to do is have the code from your repository deploy to your server, is that correct?
If so, this is definitely possible, but requires some configuration. We have a guide that describes how to build a server that uses the Deployments API to easily get your code from GitHub into production here:
https://developer.github.com/v3/guides/delivering-deployments/
Alternatively, you could use the GitHub Auto-Deploy…