for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Deployer;
require 'recipe/symfony4.php';
set('application', 'owncourses');
set
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
/** @scrutinizer ignore-call */
set('default_stage', 'demo');
set('env', function () {
return [
'APP_ENV' => has('symfony_env') ? get('symfony_env') : 'prod',
get
'APP_ENV' => has('symfony_env') ? /** @scrutinizer ignore-call */ get('symfony_env') : 'prod',
has
'APP_ENV' => /** @scrutinizer ignore-call */ has('symfony_env') ? get('symfony_env') : 'prod',
];
});
set('repository', '[email protected]:owncourses/courses-server.git');
set('git_tty', true);
set('shared_files', [
'.env.local',
'.env.local.php',
'config/jwt/private.pem',
'config/jwt/public.pem',
]); // reset sharing .env
inventory('hosts.yml');
inventory
after('deploy:failed', 'deploy:unlock');
after
before('deploy:symlink', 'database:migrate');
before