2016-08-29 16:38:01 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
require 'recipe/common.php';
|
|
|
|
|
|
2016-08-30 13:38:11 +02:00
|
|
|
server('prod', 'alfheim.ragnarok.yvan.hu', 2206)
|
2016-08-30 11:26:22 +02:00
|
|
|
->user('yvan')
|
2016-08-29 16:38:01 +02:00
|
|
|
->forwardAgent() // You can use identity key, ssh config, or username/password to auth on the server.
|
|
|
|
|
->stage('production')
|
2016-08-30 13:38:11 +02:00
|
|
|
->env('deploy_path', '/mnt/apps/jira-card-printer'); // Define the base path to deploy your project to.
|
2016-08-29 16:38:01 +02:00
|
|
|
|
2016-08-30 13:38:11 +02:00
|
|
|
set('repository', 'https://gogs.ragnarok.yvan.hu/yvan/jira-card-printer.git');
|
2016-08-29 17:06:02 +02:00
|
|
|
env('branch', 'taurus-xft');
|
|
|
|
|
|
|
|
|
|
task('deploy', [
|
|
|
|
|
'deploy:prepare',
|
|
|
|
|
'deploy:release',
|
|
|
|
|
'deploy:update_code',
|
|
|
|
|
'deploy:symlink',
|
|
|
|
|
'cleanup',
|
|
|
|
|
]);
|