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

Update .gitlab-ci.yml file

parent 5dfcf9fe
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline #248 en échec
...@@ -30,6 +30,7 @@ deploy: ...@@ -30,6 +30,7 @@ deploy:
script: script:
- git add -f public - git add -f public
- CHANGES=$(git status --porcelain | wc -l) - CHANGES=$(git status --porcelain | wc -l)
# following command comes from https://dev.to/ranb2002/how-to-push-to-a-git-repository-from-a-gitlab-ci-pipeline-4ikp
- 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}";
......
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