21 lines
557 B
PHP
21 lines
557 B
PHP
<?php
|
|
|
|
require 'recipe/common.php';
|
|
|
|
server('prod', 'alfheim.yvan.hu', 2206)
|
|
->user('yvan')
|
|
->forwardAgent() // You can use identity key, ssh config, or username/password to auth on the server.
|
|
->stage('production')
|
|
->env('deploy_path', '/var/www/cdn'); // Define the base path to deploy your project to.
|
|
|
|
set('repository', 'ssh://gogs@gogs.ragnarok.yvan.hu:2206/yvan/jira-card-printer.git');
|
|
env('branch', 'taurus-xft');
|
|
|
|
task('deploy', [
|
|
'deploy:prepare',
|
|
'deploy:release',
|
|
'deploy:update_code',
|
|
'deploy:symlink',
|
|
'cleanup',
|
|
]);
|