Skip to content

Commit daa587e

Browse files
Merge pull request #45 from RickCreator87/RickCreator87-patch-46
Create Live Status Gist
2 parents aaf39e0 + 7f607ff commit daa587e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Live Status Gist

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
# Read the metrics from the generated file and prepare the content for the Gist
3+
# Example:
4+
# metrics_content=$(cat metrics.json)
5+
# echo "GIST_CONTENT<<EOF" >> $GITHUB_ENV
6+
# echo "$metrics_content" >> $GITHUB_ENV
7+
# echo "EOF" >> $GITHUB_ENV
8+
# echo "GIST_FILENAME=metrics.json" >> $GITHUB_ENV
9+
10+
- name: Update Gist
11+
uses: exelban/gh-action-gist@v1
12+
with:
13+
gist_id: ${{ secrets.GIST_ID }}
14+
github_token: ${{ secrets.GIST_TOKEN }}
15+
# Update the file name and content based on your output from the previous step
16+
file_name: ${{ env.GIST_FILENAME }}
17+
file_content: ${{ env.GIST_CONTENT }}
18+

0 commit comments

Comments
 (0)