From 84041d498253fc6119d39d558db1e1f0a03ffc9b Mon Sep 17 00:00:00 2001 From: Yann Michel Date: Fri, 19 Sep 2025 09:44:37 +0000 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20le=20fichier=20.gitlab?= =?UTF-8?q?-ci.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7de4844..ba82c72 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -# GitLab CI for Activite test +# GitLab CI for Activite stages: - deploy @@ -31,9 +31,10 @@ deploy-job: ## Set the git user name and email - git config --global user.email "bender@ctisante.com" - git config --global user.name "bender" - - git remote add gitea git@gitea.ctisante.com:cti/activite-gitlab.git + - git remote add gitea git@gitea.ctisante.com:ymi/activite-gitlab.git script: - echo "Pushing to Public Repo..." + - git update-ref -d refs/heads/deploy #delete branch deploy - git branch deploy - git push -f gitea deploy:master - echo "Activite module pushed." \ No newline at end of file