Update .gitlab-ci.yml file

This commit is contained in:
Christoph Schabert 2023-09-22 10:11:02 +02:00
parent 5d48e1d004
commit 36832584de

View File

@ -30,8 +30,14 @@ localazy update:
- yarn start
- cd ../..
- git add .
- git commit -m "push back localazy update"
- git push gitlab_origin HEAD:${CI_COMMIT_REF_NAME} -o ci.skip
- |-
CHANGES=$(git status --porcelain | wc -l)
if [ "$CHANGES" -gt "0" ]
then
git status
git commit -m "push back localazy update"
git push gitlab_origin HEAD:${CI_COMMIT_REF_NAME} -o ci.skip
fi
rules:
- changes:
- scheduled