Skip to content

Instantly share code, notes, and snippets.

@zofe
Last active April 12, 2016 08:57
Show Gist options
  • Select an option

  • Save zofe/b3ddebe95c5cfeda1d7c to your computer and use it in GitHub Desktop.

Select an option

Save zofe/b3ddebe95c5cfeda1d7c to your computer and use it in GitHub Desktop.
@servers(['web' => '[email protected]', 'local'=>'localhost'])
@task('commit', ['on'=>'local'])
git add .
git commit -m "auto"
git push origin master
@endtask
@task('pull', ['on'=>'web'])
cd /my/remote/host/public_html
git pull origin master
@endtask
@macro('deploy')
commit
pull
@endmacro
{{--then#: envoy run deploy--}}
@jmilagroso
Copy link

Hi zofe, any thoughts on Permission denied (publickey). while running git pull origin master on task: pull. Thanks

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