Skip to content

Instantly share code, notes, and snippets.

@dbdaryl
dbdaryl / git-deployment.md
Created February 14, 2018 19:38 — forked from noelboss/git-deployment.md
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your lokal GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like my Deepl.io to act upon a Web-Hook that's triggered that service.

Keybase proof

I hereby claim:

  • I am dbdaryl on github.
  • I am dbdaryl (https://keybase.io/dbdaryl) on keybase.
  • I have a public key ASAJGeMdwcYoO6gqEn8XcieJKSYdJ0f1buRVSPPPoVVoLgo

To claim this, I am signing this object: