mirror of https://github.com/hauke68/Magallanes
Andrs Montaez
13 years ago
7 changed files with 68 additions and 50 deletions
@ -1,21 +1,24 @@
|
||||
#production |
||||
deployment: |
||||
user: root |
||||
deploy-from: ./ |
||||
deploy-to: /var/www/vhosts/example.com/www |
||||
from: ./ |
||||
to: /var/www/vhosts/example.com/www |
||||
excludes: |
||||
- application/data/cache/twig/* |
||||
releases: |
||||
enabled: true |
||||
symlink: current |
||||
directory: releases |
||||
tasks: |
||||
hosts: |
||||
- s01.example.com |
||||
- s02.example.com |
||||
- s03.example.com |
||||
- s05.example.com |
||||
rsync-excludes: |
||||
- application/data/cache/twig/* |
||||
pre-tasks: |
||||
- scm/update |
||||
tasks: |
||||
pre-deploy: |
||||
- scm/update |
||||
on-deploy: |
||||
- deployment/rsync |
||||
- privileges |
||||
#post-tasks: |
||||
#post-deploy: |
@ -1,11 +1,14 @@
|
||||
#staging |
||||
user: stg_example |
||||
deploy-from: application |
||||
deploy-to: /var/www/vhosts/example.com/staging |
||||
deployment: |
||||
user: stg_user |
||||
from: ./ |
||||
to: /var/www/vhosts/example.com/staging |
||||
hosts: |
||||
- staging.example.com |
||||
pre-tasks: |
||||
- scm/update |
||||
tasks: |
||||
pre-deploy: |
||||
- scm/update |
||||
on-deploy: |
||||
- deployment/rsync |
||||
- privileges |
||||
#post-deploy: |
Loading…
Reference in new issue