Skip to content

Instantly share code, notes, and snippets.

@jpalala
Last active June 1, 2017 05:31
Show Gist options
  • Save jpalala/e226d6d24d6ce8aa858a to your computer and use it in GitHub Desktop.
Save jpalala/e226d6d24d6ce8aa858a to your computer and use it in GitHub Desktop.
create a simple deploy script by issuing git pull on the directory of the folder

#simple- cd to directory with the git initialized and pull origin develop or master echo "Running deployment" cd /var/www/html git pull origin develop echo "Repo updated with develop"`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment