Allow override parameters in Host configuration.

This commit is contained in:
Andrés Montañez
2013-07-07 19:14:32 -03:00
parent 80e0a283ff
commit 46d00e2f08
5 changed files with 75 additions and 13 deletions
@@ -1,12 +1,12 @@
#production
deployment:
user: root
# from: ./
source:
type: git
repository: git://github.com/andres-montanez/Zend-Framework-Twig-example-app.git
from: production
temporal: /tmp/myAppClone
from: ./
# source:
# type: git
# repository: git://github.com/andres-montanez/Zend-Framework-Twig-example-app.git
# from: production
# temporal: /tmp/myAppClone
to: /var/www/vhosts/example.com/www
excludes:
- application/data/cache/twig/*
@@ -16,8 +16,19 @@ releases:
symlink: current
directory: releases
hosts:
- s01.example.com:22
- s02.example.com
s01.example.com:22:
deployment:
user: nobody
s02.example.com:
deployment:
user: toor
to: /home/web/public
releases:
max: 10
tasks:
on-deploy:
- privileges
- s03.example.com
tasks:
pre-deploy:
- scm/update
@@ -3,3 +3,6 @@ name: My fantastic App
email: andresmontanez@gmail.com
notifications: true
logging: true
scm:
type: git
url: git://github.com/andres-montanez/Zend-Framework-Twig-example-app.git
-3
View File
@@ -1,3 +0,0 @@
#scm settings
type: git
uri: git://github.com/andres-montanez/Zend-Framework-Twig-example-app.git