1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-09-13 12:40:18 +02:00
Magallanes/docs/example-config/.mage/config/environment/production.yml
Andrés Montañez eb9427d322 Example tweak.
2014-08-07 12:57:53 -03:00

40 lines
762 B
YAML

#production
deployment:
user: root
from: ./
# source:
# type: git
# 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/*
releases:
enabled: true
max: 5
symlink: current
directory: releases
hosts:
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
on-deploy:
# - symfony2/cache-warmup: {env: prod}
- privileges
- sampleTask
- sampleTaskRollbackAware
#post-deploy: