Skip to content
Extraits de code Groupes Projets
Valider 1b36bd3d rédigé par Rémi - Le Filament's avatar Rémi - Le Filament
Parcourir les fichiers

Update .gitlab-ci.yml file

parent 7cbcffec
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline #249 en échec
...@@ -27,6 +27,7 @@ deploy: ...@@ -27,6 +27,7 @@ deploy:
before_script: before_script:
- git config --global user.email "${GITLAB_USER_EMAIL}" - git config --global user.email "${GITLAB_USER_EMAIL}"
- git config --global user.name "${GITLAB_USER_NAME}" - git config --global user.name "${GITLAB_USER_NAME}"
- git remote show origin
script: script:
- git add -f public - git add -f public
- CHANGES=$(git status --porcelain | wc -l) - CHANGES=$(git status --porcelain | wc -l)
...@@ -34,7 +35,7 @@ deploy: ...@@ -34,7 +35,7 @@ deploy:
- if [ "$CHANGES" -gt "0" ]; then - if [ "$CHANGES" -gt "0" ]; then
git status; git status;
git commit -m "Update public from ${CI_COMMIT_SHORT_SHA}"; git commit -m "Update public from ${CI_COMMIT_SHORT_SHA}";
git push origin "master" -o ci.skip; git push origin master -o ci.skip;
fi fi
only: only:
- master - master
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter