Skip to content

Commit 84c6ecb

Browse files
authored
Update clone.yml to use new repository URL
1 parent 07a81aa commit 84c6ecb

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/clone.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
fi
4949
- name: update clone.json
5050
run: |
51-
curl https://raw.githubusercontent.com/MShawon/github-clone-count-badge/master/main.py > main.py
51+
curl https://raw.githubusercontent.com/nathanthaler/github-clone-count-badge/master/main.py > main.py
5252
python3 main.py
5353
- name: Update gist with latest count
5454
run: |
@@ -61,18 +61,14 @@ jobs:
6161
if [ ! -f CLONE.md ]; then
6262
shields="https://img.shields.io/badge/dynamic/json?color=success&label=Clone&query=count&url="
6363
url="https://gist.githubusercontent.com/${{ github.actor }}/${{ steps.set_id.outputs.GIST }}/raw/clone.json"
64-
repo="https://github.com/MShawon/github-clone-count-badge"
64+
repo="https://gist.githubusercontent.com/${{ github.actor }}/${{ steps.set_id.outputs.GIST }}/raw/clone.json"
6565
echo ''> CLONE.md
6666
echo '
6767
**Markdown**
6868
```markdown' >> CLONE.md
6969
echo "[![GitHub Clones]($shields$url&logo=github)]($repo)" >> CLONE.md
7070
echo '
71-
```
72-
**HTML**
73-
```html' >> CLONE.md
74-
echo "<a href='$repo'><img alt='GitHub Clones' src='$shields$url&logo=github'></a>" >> CLONE.md
75-
echo '```' >> CLONE.md
71+
```>> CLONE.md
7672
7773
git add CLONE.md
7874
git config --global user.name "GitHub Action"
@@ -83,3 +79,4 @@ jobs:
8379
uses: ad-m/github-push-action@master
8480
with:
8581
github_token: ${{ secrets.GITHUB_TOKEN }}
82+

0 commit comments

Comments
 (0)