Skip to content

Host Website of Github with local copy on server #21955

Answered by birdcar
niclasreich asked this question in General
Discussion options

You must be logged in to vote

@niclasreich wrote:

 

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?

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…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants