Skip to content

@sudara /deploy forked from toolmantim/deploy
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
#!/bin/sh
# Simple deployment script
#
# Requires access to to github repository, as well as a host defined in
# ~/.ssh/config like so:
#
# Host myhost
# User appuser
# Hostname hostname
# ForwardAgent yes
#
# On a Mac you might need to run 'ssh-add' at least once beforehand.
ssh myhost 'cd ~/app; git fetch; git reset --hard origin/master'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.