Commit cefc8072 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Add before_script section in "Create Badge" job

parent c9747a2e
...@@ -150,6 +150,8 @@ Get dump for local environment: ...@@ -150,6 +150,8 @@ Get dump for local environment:
"Create Badge": "Create Badge":
stage: badges stage: badges
before_script:
- echo "Creating badges"
script: script:
- last_master_deploy=$(git --no-pager log -1 --date=format:"%Y/%m/%d-%T" --format="%ad" origin/main) - last_master_deploy=$(git --no-pager log -1 --date=format:"%Y/%m/%d-%T" --format="%ad" origin/main)
- anybadge -l "Last Production Deployment" -v $last_master_deploy -f lastProductionDeployment.svg -c orange - anybadge -l "Last Production Deployment" -v $last_master_deploy -f lastProductionDeployment.svg -c orange
Supports Markdown
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