2011-11-23 04:17:06 +01:00
|
|
|
#production
|
2011-11-28 03:41:53 +01:00
|
|
|
deployment:
|
|
|
|
user: root
|
2013-07-08 00:14:32 +02:00
|
|
|
from: ./
|
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:
|
2014-10-11 18:30:29 +02:00
|
|
|
- s01.example.com
|
2014-10-11 20:25:36 +02: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:
|
2014-10-11 18:30:29 +02:00
|
|
|
- symfony2/cache-warmup: { env: prod }
|
2011-11-28 03:41:53 +01:00
|
|
|
- privileges
|
2012-01-04 02:25:42 +01:00
|
|
|
- sampleTask
|
|
|
|
- sampleTaskRollbackAware
|