Store bagde on the gh-pages branch (#64)

This commit is contained in:
Shiming Zhang 2022-01-19 15:08:29 +08:00 committed by GitHub
parent 5f240577c5
commit c1027b33ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -19,8 +19,8 @@ jobs:
./hack/diff.sh
- name: Update badge
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }} # Generated for update gist
BADGE_PREFIX: "gist://wzshiming/6e1f67a5184f93cefc5b2c670a5813e5"
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BADGE_PREFIX: "git://${{ github.repository }}/gh-pages"
QUICKLY: "true"
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

View File

@ -28,8 +28,8 @@ jobs:
./hack/diff.sh
- name: Update badge
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }} # Generated for update gist
BADGE_PREFIX: "gist://wzshiming/6e1f67a5184f93cefc5b2c670a5813e5"
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BADGE_PREFIX: "git://${{ github.repository }}/gh-pages"
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
./hack/badge.sh