Store bagde on the gh-pages branch (#64)
This commit is contained in:
parent
5f240577c5
commit
c1027b33ae
|
@ -19,8 +19,8 @@ jobs:
|
||||||
./hack/diff.sh
|
./hack/diff.sh
|
||||||
- name: Update badge
|
- name: Update badge
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }} # Generated for update gist
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
BADGE_PREFIX: "gist://wzshiming/6e1f67a5184f93cefc5b2c670a5813e5"
|
BADGE_PREFIX: "git://${{ github.repository }}/gh-pages"
|
||||||
QUICKLY: "true"
|
QUICKLY: "true"
|
||||||
run: |
|
run: |
|
||||||
wget https://github.com/wzshiming/putingh/releases/download/v0.6.3/putingh_linux_amd64 -O /usr/local/bin/putingh && chmod +x /usr/local/bin/putingh
|
wget https://github.com/wzshiming/putingh/releases/download/v0.6.3/putingh_linux_amd64 -O /usr/local/bin/putingh && chmod +x /usr/local/bin/putingh
|
||||||
|
|
|
@ -28,8 +28,8 @@ jobs:
|
||||||
./hack/diff.sh
|
./hack/diff.sh
|
||||||
- name: Update badge
|
- name: Update badge
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }} # Generated for update gist
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
BADGE_PREFIX: "gist://wzshiming/6e1f67a5184f93cefc5b2c670a5813e5"
|
BADGE_PREFIX: "git://${{ github.repository }}/gh-pages"
|
||||||
run: |
|
run: |
|
||||||
wget https://github.com/wzshiming/putingh/releases/download/v0.6.3/putingh_linux_amd64 -O /usr/local/bin/putingh && chmod +x /usr/local/bin/putingh
|
wget https://github.com/wzshiming/putingh/releases/download/v0.6.3/putingh_linux_amd64 -O /usr/local/bin/putingh && chmod +x /usr/local/bin/putingh
|
||||||
./hack/badge.sh
|
./hack/badge.sh
|
||||||
|
|
Loading…
Reference in New Issue