Last active
April 12, 2016 08:57
-
-
Save zofe/b3ddebe95c5cfeda1d7c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @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--}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi zofe, any thoughts on Permission denied (publickey). while running git pull origin master on task: pull. Thanks