File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 "[]($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"
8379 uses : ad-m/github-push-action@master
8480 with :
8581 github_token : ${{ secrets.GITHUB_TOKEN }}
82+
You can’t perform that action at this time.
0 commit comments