Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4681455yUse git locally
Install git on cloud server and git pull or use a webhook to do it for you. -
Jabster28325y@C0D4 I've used git before, so that should be relatively easy.
But What's a webhook? -
C0D4681455y@Jabster28 In short, GitHub (for example) will make a call out to the server when you merge a pull request and you can have a script at the other end run a git pull to update its self.
https://developer.github.com/webhoo... -
@Jabster28 @C0D4 Webhooks are an easy alternative to complex automated work flows. Just make sure to whitelist GitHubs IP addresses so that any random person can't git pull at will.
-
Once you have a webhook based system set up it's sooo slick
Literally just push/merge your code to the repo and you're done.
Related Rants
So let's say you're theoretically hosting a website on Google's cloud platform with GoDaddy, but you have the code on your local PC. How would you go about updating it?
For now, I've just been SFTPing into the cloud server and updating it.
question
ssh
google cloud
godaddy
sftp
suggestions
bash
google cloud computing