Changes on configuration.

Preparation for Post Release tasks.
This commit is contained in:
Andrs Montaez
2011-11-28 00:41:53 -02:00
parent 1349f296c0
commit 9c03ae6bed
7 changed files with 68 additions and 50 deletions
@@ -1,21 +1,24 @@
#production
user: root
deploy-from: ./
deploy-to: /var/www/vhosts/example.com/www
deployment:
user: root
from: ./
to: /var/www/vhosts/example.com/www
excludes:
- application/data/cache/twig/*
releases:
enabled: true
symlink: current
directory: releases
tasks:
hosts:
- s01.example.com
- s02.example.com
- s03.example.com
- s05.example.com
rsync-excludes:
- application/data/cache/twig/*
pre-tasks:
- scm/update
tasks:
- deployment/rsync
- privileges
#post-tasks:
pre-deploy:
- scm/update
on-deploy:
- deployment/rsync
- privileges
#post-deploy:
@@ -1,11 +1,14 @@
#staging
user: stg_example
deploy-from: application
deploy-to: /var/www/vhosts/example.com/staging
deployment:
user: stg_user
from: ./
to: /var/www/vhosts/example.com/staging
hosts:
- staging.example.com
pre-tasks:
- scm/update
tasks:
- deployment/rsync
- privileges
pre-deploy:
- scm/update
on-deploy:
- deployment/rsync
- privileges
#post-deploy: