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 |
#production |
||||||
user: root |
deployment: |
||||||
deploy-from: ./ |
user: root |
||||||
deploy-to: /var/www/vhosts/example.com/www |
from: ./ |
||||||
|
to: /var/www/vhosts/example.com/www |
||||||
|
excludes: |
||||||
|
- application/data/cache/twig/* |
||||||
releases: |
releases: |
||||||
enabled: true |
enabled: true |
||||||
symlink: current |
symlink: current |
||||||
directory: releases |
directory: releases |
||||||
|
tasks: |
||||||
hosts: |
hosts: |
||||||
- s01.example.com |
- s01.example.com |
||||||
- s02.example.com |
- s02.example.com |
||||||
- s03.example.com |
- s03.example.com |
||||||
- s05.example.com |
- s05.example.com |
||||||
rsync-excludes: |
|
||||||
- application/data/cache/twig/* |
|
||||||
pre-tasks: |
|
||||||
- scm/update |
|
||||||
tasks: |
tasks: |
||||||
|
pre-deploy: |
||||||
|
- scm/update |
||||||
|
on-deploy: |
||||||
- deployment/rsync |
- deployment/rsync |
||||||
- privileges |
- privileges |
||||||
#post-tasks: |
#post-deploy: |
@ -1,11 +1,14 @@ |
|||||||
#staging |
#staging |
||||||
user: stg_example |
deployment: |
||||||
deploy-from: application |
user: stg_user |
||||||
deploy-to: /var/www/vhosts/example.com/staging |
from: ./ |
||||||
|
to: /var/www/vhosts/example.com/staging |
||||||
hosts: |
hosts: |
||||||
- staging.example.com |
- staging.example.com |
||||||
pre-tasks: |
|
||||||
- scm/update |
|
||||||
tasks: |
tasks: |
||||||
|
pre-deploy: |
||||||
|
- scm/update |
||||||
|
on-deploy: |
||||||
- deployment/rsync |
- deployment/rsync |
||||||
- privileges |
- privileges |
||||||
|
#post-deploy: |
Loading…
Reference in new issue