File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 25
25
env :
26
26
GIST_ID : ${{ secrets.GIST_ID }}
27
27
run : |
28
- gh gist get $GIST_ID > previous_clones.json
28
+ gh gist view $GIST_ID > previous_clones.json
29
29
jq -s '.[0] * .[1]' previous_clones.json latest_clones.json > clone.json
30
30
gh gist edit $GIST_ID clone.json
31
-
32
31
- name : Push Updated Stats
33
32
run : |
34
33
gh api -X PUT repos/${{ github.repository }}/traffic/clones --input clone.json
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ A Crystal shard for creating human-readable URLs and slugs. FriendlyId lets you
4
4
5
5
[ ![ Crystal Test] ( https://github.com/dcalixto/friendly_id/actions/workflows/crystal-test.yml/badge.svg?branch=master )] ( https://github.com/dcalixto/friendly_id/actions/workflows/crystal-test.yml )
6
6
7
- ![ Clone Count] ( https://img.shields.io /badge/Clones-0-brightgreen )
7
+ [ ![ Clone Count] ( https://github.com/dcalixto/friendly_id/actions/workflows/clone-stats-and-badge.yml /badge.svg?branch=master )] ( https://github.com/dcalixto/friendly_id/actions/workflows/clone-stats-and-badge.yml )
8
8
9
9
## Installation
10
10
You can’t perform that action at this time.
0 commit comments