chore: rename badge file

both success and failed status badge should have the same filename
This commit is contained in:
curben 2019-06-10 18:08:14 +09:30
parent 472f107d80
commit 8c9f7e3d3f
1 changed files with 4 additions and 4 deletions

View File

@ -47,11 +47,11 @@ deploy_job:
- git push
# Generate successful status badge
- mkdir -p public/ && wget https://img.shields.io/badge/pipeline-passed-success.svg -O public/passed.svg
- mkdir -p public/ && wget https://img.shields.io/badge/pipeline-passed-success.svg -O public/status.svg
artifacts:
paths:
- public/passed.svg
- public/status.svg
only:
# Allow CI to be triggered by schedule
@ -65,11 +65,11 @@ failed_job:
script:
# Generate failed status badge
- mkdir -p public/ && wget https://img.shields.io/badge/pipeline-failed-critical.svg -O public/failed.svg
- mkdir -p public/ && wget https://img.shields.io/badge/pipeline-failed-critical.svg -O public/status.svg
artifacts:
paths:
- public/failed.svg
- public/status.svg
# Run this job only when deploy_job failed
when: on_failure