From 8c9f7e3d3ffe673e8a37b1189578dc65eab61008 Mon Sep 17 00:00:00 2001 From: curben Date: Mon, 10 Jun 2019 18:08:14 +0930 Subject: [PATCH] chore: rename badge file both success and failed status badge should have the same filename --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8d661902..1e07b240 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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