Change Branch on pre-deployment.

This commit is contained in:
Andrés Montañez
2012-12-26 13:15:37 -02:00
parent c2a9bf0d62
commit ca12e74a6d
4 changed files with 134 additions and 10 deletions
@@ -3,18 +3,20 @@ deployment:
user: root
from: ./
to: /var/www/
scm:
branch: master
releases:
enabled: true
max: 5
symlink: current
directory: releases
hosts:
- localhost
- dbserver
# - localhost
# - dbserver
tasks:
pre-deploy:
- sampleTask
# - scm/update
- scm/update
on-deploy:
- privileges
- sampleTask