Abort Deployment when pre-deploy task fails. Addresses issue #29

This commit is contained in:
Andrés Montañez
2013-11-08 13:42:34 -02:00
parent d8961674d3
commit 03b158c0a5
3 changed files with 212 additions and 159 deletions
@@ -4,18 +4,19 @@ deployment:
from: ./
to: /var/www/
scm:
branch: master2
branch: master
releases:
enabled: true
max: 5
symlink: current
directory: releases
hosts:
# - localhost
- localhost
# - dbserver
tasks:
pre-deploy:
- sampleTask
# - failTask
- scm/update
on-deploy:
- privileges