From 1b36bd3da4230c12e97cac916f6bfe10b6fdd453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com> Date: Thu, 21 Oct 2021 15:35:15 +0200 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3c0aa68..f045bf6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,6 +27,7 @@ deploy: before_script: - git config --global user.email "${GITLAB_USER_EMAIL}" - git config --global user.name "${GITLAB_USER_NAME}" + - git remote show origin script: - git add -f public - CHANGES=$(git status --porcelain | wc -l) @@ -34,7 +35,7 @@ deploy: - if [ "$CHANGES" -gt "0" ]; then git status; 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 only: - master \ No newline at end of file -- GitLab