Compare commits

..

No commits in common. "develop" and "v0.0.3" have entirely different histories.

2 changed files with 11 additions and 11 deletions

2
Jenkinsfile vendored
View file

@ -28,7 +28,7 @@ node {
stage('Deploy staging') { stage('Deploy staging') {
// Deploy to staging host // Deploy to staging host
sh 'vendor/bin/dep deploy lq5xi.ftp.infomaniak.com --no-interaction' sh 'vendor/bin/dep deploy staging'
} }
/* /*

View file

@ -1,7 +1,7 @@
<?php <?php
namespace Deployer; namespace Deployer;
require 'recipe/symfony.php'; require 'recipe/symfony4.php';
// Project name // Project name
set('application', 'pflaenz.li'); set('application', 'pflaenz.li');
@ -13,11 +13,11 @@ set('repository', 'ssh://git@git.thisfro.ch:222/thisfro/pflaenz.li.git');
set('git_tty', true); set('git_tty', true);
set('bin/php', function() { set('bin/php', function() {
return '/opt/php8.2/bin/php'; return '/opt/php8.0/bin/php';
}); });
set('bin/composer', function() { set('bin/composer', function() {
return '/opt/php8.2/bin/composer2'; return '/opt/php8.0/bin/composer2';
}); });
// Shared files/dirs between deploys // Shared files/dirs between deploys
@ -28,14 +28,14 @@ add('shared_dirs', ['public/uploads']);
add('writable_dirs', []); add('writable_dirs', []);
// Set composer options // Set composer options
set('composer_options', '--verbose --prefer-dist --no-progress --no-interaction --optimize-autoloader --no-scripts'); set('composer_options', '{{composer_action}} --verbose --prefer-dist --no-progress --no-interaction --optimize-autoloader --no-scripts');
// Hosts // Hosts
host('lq5xi.ftp.infomaniak.com') host('beta.pflaenz.li')
->set('remote_user', 'lq5xi_thisfro') ->user('lq5xi_thisfro')
->set('deploy_path', '~/sites/{{stage}}.{{application}}') ->set('deploy_path', '~/sites/{{stage}}.{{application}}')
->set('http_user', 'uid153060') ->set('http_user', 'uid153060')
->set('stage', 'beta'); ->stage('beta');
// Tasks // Tasks
@ -45,9 +45,9 @@ task('upload:build', function() {
// Build yarn locally // Build yarn locally
task('deploy:build:assets', function (): void { task('deploy:build:assets', function (): void {
runLocally('yarn install'); run('yarn install');
runLocally('yarn encore production'); run('yarn encore production');
})->desc('Install front-end assets'); })->local()->desc('Install front-end assets');
before('deploy:symlink', 'deploy:build:assets'); before('deploy:symlink', 'deploy:build:assets');