Skip to content

Commit dba95ba

Browse files
author
dcalixto
committed
The correct command for downloading a gist is gh gist
1 parent 6b8becb commit dba95ba

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/clone-stats-and-badge.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ jobs:
2525
env:
2626
GIST_ID: ${{ secrets.GIST_ID }}
2727
run: |
28-
gh gist get $GIST_ID > previous_clones.json
28+
gh gist view $GIST_ID > previous_clones.json
2929
jq -s '.[0] * .[1]' previous_clones.json latest_clones.json > clone.json
3030
gh gist edit $GIST_ID clone.json
31-
3231
- name: Push Updated Stats
3332
run: |
3433
gh api -X PUT repos/${{ github.repository }}/traffic/clones --input clone.json

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A Crystal shard for creating human-readable URLs and slugs. FriendlyId lets you
44

55
[![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)
66

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)
88

99
## Installation
1010

0 commit comments

Comments
 (0)