2011-11-23 04:17:06 +01:00
|
|
|
#staging
|
2011-11-28 03:41:53 +01:00
|
|
|
deployment:
|
2012-03-31 01:56:07 +02:00
|
|
|
user: root
|
2011-11-28 03:41:53 +01:00
|
|
|
from: ./
|
2012-09-21 05:23:07 +02:00
|
|
|
to: /var/www/
|
2012-12-26 16:15:37 +01:00
|
|
|
scm:
|
2013-11-08 16:42:34 +01:00
|
|
|
branch: master
|
2012-09-21 05:23:07 +02:00
|
|
|
releases:
|
|
|
|
enabled: true
|
|
|
|
max: 5
|
|
|
|
symlink: current
|
|
|
|
directory: releases
|
2012-03-31 01:56:07 +02:00
|
|
|
hosts:
|
2013-11-08 16:42:34 +01:00
|
|
|
- localhost
|
2014-03-16 22:42:29 +01:00
|
|
|
- 127.0.0.1
|
2011-11-24 01:25:20 +01:00
|
|
|
tasks:
|
2011-11-28 03:41:53 +01:00
|
|
|
pre-deploy:
|
2014-03-16 22:42:29 +01:00
|
|
|
# - sampleTask
|
2013-11-08 16:42:34 +01:00
|
|
|
# - failTask
|
2012-12-26 16:15:37 +01:00
|
|
|
- scm/update
|
2011-11-28 03:41:53 +01:00
|
|
|
on-deploy:
|
|
|
|
- privileges
|
2014-03-16 22:42:29 +01:00
|
|
|
# - sampleTask
|
2012-01-04 02:25:42 +01:00
|
|
|
- sampleTaskRollbackAware
|
2012-09-24 00:33:10 +02:00
|
|
|
- taskWithParameters:
|
|
|
|
booleanOption: true
|
|
|
|
- taskWithParameters
|
2012-10-24 22:59:34 +02:00
|
|
|
post-release:
|
2012-10-25 00:46:57 +02:00
|
|
|
# - sampleTask
|
2012-10-24 22:59:34 +02:00
|
|
|
post-deploy:
|
|
|
|
- sampleTask
|