From c5ce8643712ee53c9f93443e68c173876a6e4c18 Mon Sep 17 00:00:00 2001 From: Andrs Montaez Date: Sat, 26 Nov 2011 22:51:23 -0200 Subject: [PATCH] Config for working with Releases. --- .../example-config/.mage/config/environment/production.yaml | 6 ++++++ docs/example-config/.mage/config/scm.yaml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/example-config/.mage/config/environment/production.yaml b/docs/example-config/.mage/config/environment/production.yaml index c5e8734..83a25a7 100644 --- a/docs/example-config/.mage/config/environment/production.yaml +++ b/docs/example-config/.mage/config/environment/production.yaml @@ -2,11 +2,17 @@ user: root deploy-from: ./ deploy-to: /var/www/vhosts/example.com/www +releases: + - enabled: true + - symlink: current + - directory: releases hosts: - s01.example.com - s02.example.com - s03.example.com - s05.example.com +rsync-excludes: + - application/data/cache/twig/* pre-tasks: - scm/update tasks: diff --git a/docs/example-config/.mage/config/scm.yaml b/docs/example-config/.mage/config/scm.yaml index 0ac4da3..0affbaa 100644 --- a/docs/example-config/.mage/config/scm.yaml +++ b/docs/example-config/.mage/config/scm.yaml @@ -1,3 +1,3 @@ #scm settings type: git -url: git://github.com/andres-montanez/Zend-Framework-Twig-example-app.git \ No newline at end of file +uri: git://github.com/andres-montanez/Zend-Framework-Twig-example-app.git \ No newline at end of file