Added PRE and POST Deploy tasks.

This commit is contained in:
Andrs Montaez
2011-11-23 22:25:20 -02:00
parent 49481e6a38
commit b5c8ab9c87
4 changed files with 73 additions and 6 deletions
@@ -7,7 +7,9 @@ hosts:
- s02.example.com
- s03.example.com
- s05.example.com
tasks:
pre-tasks:
- scm/update
tasks:
- deployment/rsync
- privileges
- privileges
#post-tasks:
@@ -4,6 +4,8 @@ deploy-from: application
deploy-to: /var/www/vhosts/example.com/staging
hosts:
- staging.example.com
tasks:
pre-tasks:
- scm/update
- deployment/rsync
tasks:
- deployment/rsync
- privileges