build: update folder of scripts

This commit is contained in:
Ming Di Leom 2021-05-22 03:09:42 +00:00
parent 590c8694a3
commit f407b59a52
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 3 additions and 3 deletions

View File

@ -24,11 +24,11 @@ deploy_job:
- git config --global user.email "3048979-curben-bot@users.noreply.gitlab.com"
# Commit the changes
- sh utils/commit.sh
- sh src/commit.sh
# Generate successful status badge
- mkdir -p .gitlab/
- sh utils/badge.sh "success"
- sh src/badge.sh "success"
- git add .gitlab/status.svg
# Only commit when diff exists https://stackoverflow.com/a/8123841
- git diff-index --quiet HEAD || git commit -m "Success pipeline"
@ -63,7 +63,7 @@ failed_job:
- git config --global user.email "3048979-curben-bot@users.noreply.gitlab.com"
- mkdir -p .gitlab/
- sh utils/badge.sh "failed"
- sh src/badge.sh "failed"
- git add .gitlab/status.svg
- git diff-index --quiet HEAD || git commit -m "Failed pipeline"
- ssh -T git@gitlab.com