Browse Source

Mettre à jour le fichier .gitlab-ci.yml

master
Yann Michel 2 months ago
parent
commit
84041d4982
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      .gitlab-ci.yml

+ 3
- 2
.gitlab-ci.yml View File

@ -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."

Loading…
Cancel
Save