Skip to content

Instantly share code, notes, and snippets.

@jasonagnew
Last active December 8, 2016 19:27
Show Gist options
  • Save jasonagnew/5592cfd8193ee35f1d4caa3b1e92e0b9 to your computer and use it in GitHub Desktop.
Save jasonagnew/5592cfd8193ee35f1d4caa3b1e92e0b9 to your computer and use it in GitHub Desktop.

Deploy without Peggy

Peggy is just wrapper for virtue: https://github.com/jasonagnew/virtue2 - so you can just do:

ssh -t {user}@{ip} virtue app:deploy {app-name} {git-branch}

You can grab the {app-name} by sshing into the server and running ls /var/www - it'd normally be:

{id}-{name}-{env}-{another-id}

For example:

11-get-suzie-live-2234754072

So on your local machine you can just run:

ssh -t root@getsuzie.com virtue app:deploy 11-get-suzie-live-2234754072 master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment