New feature. Copy application from remote source; e.g.: GIT repo.

This commit is contained in:
Andrs Montaez
2012-02-05 00:42:54 -02:00
parent 38711cbac2
commit 0c2ee3c45f
9 changed files with 105 additions and 7 deletions
@@ -1,7 +1,12 @@
#production
deployment:
user: root
from: ./
# from: ./
source:
type: git
repository: git://github.com/andres-montanez/Zend-Framework-Twig-example-app.git
from: production
temporal: /tmp/myAppClone
to: /var/www/vhosts/example.com/www
excludes:
- application/data/cache/twig/*
@@ -12,8 +17,6 @@ releases:
hosts:
- s01.example.com
- s02.example.com
- s03.example.com
- s05.example.com
tasks:
pre-deploy:
- scm/update