Commit adb54f3a authored by Thomas Löffler's avatar Thomas Löffler

Add badge creation of last production deployment

parent d08e6d5a
Pipeline #9587 failed with stages
in 7 minutes and 26 seconds
......@@ -2,6 +2,7 @@ include:
- project: 't3o/t3olayout'
ref: main
file: '/Configuration/GitLab/t3o-builds.yml'
- remote: 'https://git.spooner.io/spooner-web/gitlab-anybadge-creator/-/raw/main/anybadges.yml'
variables:
GIT_STRATEGY: "none"
......@@ -20,6 +21,7 @@ stages:
- build
- layout
- deploy
- badges
- warmup
.deploy-template: &deploy_template
......@@ -58,3 +60,9 @@ deploy-develop:
url: https://${STAGE_HOST}
only:
- develop
"Create Badge":
stage: badges
script:
- last_master_deploy=$(git log -1 --format=%cd origin/master)
- anybadge -l "Last Production Deployment" -v $last_master_deploy -f lastProductionDeployment.svg -c orange
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment