Support update gist

This commit is contained in:
Shiming Zhang 2021-09-14 11:42:09 +08:00
parent ba35a5d494
commit 2b59574cf4
1 changed files with 7 additions and 1 deletions

View File

@ -18,6 +18,12 @@ jobs:
INCREMENTAL: "true"
DEBUG: "true"
QUICKLY: "true"
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
./scripts/check-image.sh
- name: Update badge
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }} # Generated for update gist
BADGE_PATH: "gist://wzshiming/*/daocloud-sync-badge"
run: |
wget https://github.com/wzshiming/putingh/releases/download/v0.6.1/putingh_linux_amd64 -O /usr/local/bin/putingh && chmod +x /usr/local/bin/putingh
GH_TOKEN="${GH_TOKEN}" putingh "${BADGE_PATH}" sync.svg