22 lines
583 B
PHP
22 lines
583 B
PHP
<?php
|
|
|
|
require 'recipe/common.php';
|
|
|
|
server('prod', 'vasgyuro.tsp', 22)
|
|
->user('edvidan')
|
|
->forwardAgent() // You can use identity key, ssh config, or username/password to auth on the server.
|
|
->stage('production')
|
|
->env('deploy_path', '/home/edvidan/applications/jira-card-printer'); // Define the base path to deploy your project to.
|
|
|
|
set('repository', '/home/edvidan/git/jira-card-printer.git');
|
|
env('branch', 'taurus-xft');
|
|
|
|
task('deploy', [
|
|
'deploy:prepare',
|
|
'deploy:release',
|
|
'deploy:update_code',
|
|
// 'deploy:vendors',
|
|
'deploy:symlink',
|
|
'cleanup',
|
|
]);
|