2011-11-23 04:17:06 +01:00
|
|
|
#production
|
2011-11-28 03:41:53 +01:00
|
|
|
deployment:
|
|
|
|
user: root
|
2012-02-05 03:42:54 +01:00
|
|
|
# from: ./
|
|
|
|
source:
|
|
|
|
type: git
|
|
|
|
repository: git://github.com/andres-montanez/Zend-Framework-Twig-example-app.git
|
|
|
|
from: production
|
|
|
|
temporal: /tmp/myAppClone
|
2011-11-28 03:41:53 +01:00
|
|
|
to: /var/www/vhosts/example.com/www
|
|
|
|
excludes:
|
|
|
|
- application/data/cache/twig/*
|
2011-11-27 01:51:23 +01:00
|
|
|
releases:
|
2011-11-27 15:14:40 +01:00
|
|
|
enabled: true
|
2012-03-31 04:51:17 +02:00
|
|
|
max: 5
|
2011-11-27 15:14:40 +01:00
|
|
|
symlink: current
|
|
|
|
directory: releases
|
2011-11-23 04:17:06 +01:00
|
|
|
hosts:
|
2012-02-15 22:08:16 +01:00
|
|
|
- s01.example.com:22
|
2011-11-23 04:17:06 +01:00
|
|
|
- s02.example.com
|
2011-11-24 01:25:20 +01:00
|
|
|
tasks:
|
2011-11-28 03:41:53 +01:00
|
|
|
pre-deploy:
|
|
|
|
- scm/update
|
|
|
|
on-deploy:
|
|
|
|
- privileges
|
2012-01-04 02:25:42 +01:00
|
|
|
- sampleTask
|
|
|
|
- sampleTaskRollbackAware
|
2011-11-28 03:41:53 +01:00
|
|
|
#post-deploy:
|