magallanes/docs/example-config/.mage/config/environment/production.yml

38 lines
707 B
YAML
Raw Normal View History

#production
deployment:
user: root
from: ./
# source:
# type: git
2014-08-07 17:57:53 +02:00
# repository: git://github.com/andres-montanez/Magallanes.git
# from: master
# temporal: /tmp/myAppClone
to: /var/www/vhosts/example.com/www
excludes:
- application/data/cache/twig/*
2011-11-27 01:51:23 +01:00
releases:
enabled: true
2012-03-31 04:51:17 +02:00
max: 5
symlink: current
directory: releases
hosts:
2014-10-11 18:30:29 +02:00
- s01.example.com
s02.example.com:
deployment:
user: toor
to: /home/web/public
releases:
max: 10
tasks:
on-deploy:
- privileges
2011-11-24 01:25:20 +01:00
tasks:
pre-deploy:
- scm/update
on-deploy:
2014-10-11 18:30:29 +02:00
- symfony2/cache-warmup: { env: prod }
- privileges
- sampleTask
- sampleTaskRollbackAware
#post-deploy: