jira-card-printer/deploy.php

21 lines
573 B
PHP
Raw Permalink Normal View History

2016-08-29 16:38:01 +02:00
<?php
require 'recipe/common.php';
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')
->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
set('repository', 'https://gogs.ragnarok.yvan.hu/yvan/jira-card-printer.git');
env('branch', 'taurus-xft');
task('deploy', [
'deploy:prepare',
'deploy:release',
'deploy:update_code',
'deploy:symlink',
'cleanup',
]);