This commit is contained in:
parent
3941cb4b8f
commit
0756460fbc
@@ -3,7 +3,9 @@ namespace Deployer;
|
||||
|
||||
require 'recipe/symfony.php';
|
||||
|
||||
set('repository', 'https://git.homelab.nestor-server.fr/colgora/Mangarr.git');
|
||||
// GITEA_TOKEN injecté depuis le secret Gitea (scope: read:repository)
|
||||
$giteaToken = getenv('GITEA_TOKEN') ?: throw new \RuntimeException('GITEA_TOKEN secret is required');
|
||||
set('repository', "https://{$giteaToken}@git.homelab.nestor-server.fr/colgora/Mangarr.git");
|
||||
set('keep_releases', 3);
|
||||
set('composer_options', '--no-dev --optimize-autoloader --no-interaction --prefer-dist');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user