diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8d6feb8..e8414fd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,6 +34,7 @@ deploy-job: - git remote add gitea git@gitea.ctisante.com:cti/pmsi-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 "PMSI module pushed." \ No newline at end of file