General > Developers Corner

Remote file administration with github?

(1/1)

sirrfuchs:
Hey, not sure if this is a valid topic for this forum, but I assume since it's development related, it should be okay...


I need some help getting my garry's mod server onto a Private Github Repo, and make it to where any pushes on the github will change the server files.

I've had someone set this up before, but they haven't been on steam in over 9 months.

Any help appreciated, I tried googling, but no luck!

roastchicken:
You need to use Webhooks. They're similar to githooks, except they're for GitHub. You'll need a webserver to utilize them, so if you don't have one you'll either need to buy hosting or set up a webserver on your Garry's Mod server (assuming you're running a VPS/VDS). I don't have much time right now, but I'll try to update this post later today with more information.

Another approach is to use a Git repository on your server and then push any changes to the GitHub repo. This (IIRC) does not require a webserver and seems easier to me.

iViscosity:

--- Quote from: roastchicken on September 27, 2016, 04:59:17 AM ---Another approach is to use a Git repository on your server and then push any changes to the GitHub repo. This (IIRC) does not require a webserver and seems easier to me.

--- End quote ---

I'm also curious as how to do this :O

Bytewave:

--- Quote from: iViscosity on September 30, 2016, 06:43:57 PM ---I'm also curious as how to do this :O

--- End quote ---
Quick search, maybe this'll do it for you?

Edit: Correction, this should do it.

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given

[0] Board index

Go to full version