Skip to content

Commit 891b720

Browse files
author
Sean Sundberg
authored
Generates last run badge (#305)
1 parent f18bc9e commit 891b720

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/verify-master.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,18 @@ jobs:
4848
TF_VAR_ibmcloud_api_key: ${{ secrets.IBMCLOUD_API_KEY }}
4949
IBMCLOUD_API_KEY: ${{ secrets.IBMCLOUD_API_KEY }}
5050

51+
- id: date
52+
run: echo "##[set-output name=data;]$(date)"
53+
54+
- name: Time badge
55+
uses: RubbaBoy/[email protected]
56+
with:
57+
NAME: time
58+
LABEL: 'Last run on'
59+
STATUS: ${{ steps.date.outputs.data }}
60+
COLOR: 00EEFF
61+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62+
5163
- name: Slack Notification
5264
if: ${{ failure() }}
5365
uses: rtCamp/[email protected]

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
![Verify workflow](https://github.com/ibm-garage-cloud/ibm-garage-iteration-zero/actions/workflows/verify-master.yaml/badge.svg)
66

7+
![](https://byob.yarr.is/ibm-garage-cloud/ibm-garage-iteration-zero/time)
8+
79
## Iteration Zero for IBM Cloud
810

911
This repository contains infrastructure as code (IasC) scripting to create an IBM Garage Cloud Native Toolkit

0 commit comments

Comments
 (0)