mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-29 10:38:57 +02:00
Major overhauling and refactoring of Magallanes Command and Tasks modulairty and workflow.
ADVICE: there is no Backwards Compatibility with custom tasks, those using the _config instance will be broken or those using the getEnvironmentName().
This commit is contained in:
@@ -2,11 +2,14 @@
|
||||
deployment:
|
||||
user: root
|
||||
from: ./
|
||||
to: /var/www/vhosts/example.com/staging
|
||||
#hosts: /tmp/current-staging-hosts.txt
|
||||
to: /var/www/
|
||||
releases:
|
||||
enabled: true
|
||||
max: 5
|
||||
symlink: current
|
||||
directory: releases
|
||||
hosts:
|
||||
- s01.example.com:22
|
||||
- s02.example.com
|
||||
- localhost
|
||||
tasks:
|
||||
pre-deploy:
|
||||
- scm/update
|
||||
@@ -14,4 +17,5 @@ tasks:
|
||||
- privileges
|
||||
- sampleTask
|
||||
- sampleTaskRollbackAware
|
||||
#post-deploy:
|
||||
#post-release
|
||||
#post-deploy:
|
||||
|
||||
Reference in New Issue
Block a user