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