Support update gist
This commit is contained in:
parent
ba35a5d494
commit
2b59574cf4
|
@ -18,6 +18,12 @@ jobs:
|
||||||
INCREMENTAL: "true"
|
INCREMENTAL: "true"
|
||||||
DEBUG: "true"
|
DEBUG: "true"
|
||||||
QUICKLY: "true"
|
QUICKLY: "true"
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: |
|
run: |
|
||||||
./scripts/check-image.sh
|
./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
|
||||||
|
|
Loading…
Reference in New Issue