patch: pipeline manual
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful

This commit is contained in:
spassignat
2026-05-04 11:18:46 +02:00
parent 5a989e4a58
commit 9d980e79c1

View File

@@ -131,7 +131,6 @@ steps:
else else
echo "⏭️ Pas de publication (version_type=none)" echo "⏭️ Pas de publication (version_type=none)"
fi fi
depends_on: [ package ] depends_on: [ package ]
# Étape 7: Commit et tag (après publication) # Étape 7: Commit et tag (après publication)
@@ -142,7 +141,12 @@ steps:
from_secret: gitea_token from_secret: gitea_token
commands: | commands: |
source $CI_WORKSPACE/version.env source $CI_WORKSPACE/version.env
if [ -d "/shared" ]; then
echo "Le répertoire shared existe"
ls -als /shared/
else
exit -1
fi
if [ "$version_type" != "none" ]; then if [ "$version_type" != "none" ]; then
git remote set-url origin http://oauth2:$GITEA_TOKEN@gitea.cicd.exygen.fr/$CI_REPO_OWNER/$CI_REPO_NAME.git git remote set-url origin http://oauth2:$GITEA_TOKEN@gitea.cicd.exygen.fr/$CI_REPO_OWNER/$CI_REPO_NAME.git
git config user.email "woodpecker@exygen.fr" git config user.email "woodpecker@exygen.fr"