mirror of
https://github.com/DaoCloud/public-image-mirror.git
synced 2025-08-07 14:39:01 +08:00
Support export log
This commit is contained in:
5
.github/workflows/deep-sync-check.yml
vendored
5
.github/workflows/deep-sync-check.yml
vendored
@@ -23,7 +23,8 @@ jobs:
|
||||
- name: Update badge
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }} # Generated for update gist
|
||||
BADGE_PATH: "gist://wzshiming/6e1f67a5184f93cefc5b2c670a5813e5/daocloud-deep-sync-badge.svg"
|
||||
BADGE_PREFIX: "gist://wzshiming/6e1f67a5184f93cefc5b2c670a5813e5"
|
||||
run: |
|
||||
wget https://github.com/wzshiming/putingh/releases/download/v0.6.2/putingh_linux_amd64 -O /usr/local/bin/putingh && chmod +x /usr/local/bin/putingh
|
||||
GH_TOKEN="${GH_TOKEN}" putingh "${BADGE_PATH}" sync.svg
|
||||
GH_TOKEN="${GH_TOKEN}" putingh "${BADGE_PREFIX}/daocloud-deep-sync-badge.svg" badge.svg
|
||||
GH_TOKEN="${GH_TOKEN}" putingh "${BADGE_PREFIX}/daocloud-deep-sync.log" sync.log
|
||||
|
5
.github/workflows/sync-check.yml
vendored
5
.github/workflows/sync-check.yml
vendored
@@ -23,7 +23,8 @@ jobs:
|
||||
- name: Update badge
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }} # Generated for update gist
|
||||
BADGE_PATH: "gist://wzshiming/6e1f67a5184f93cefc5b2c670a5813e5/daocloud-sync-badge.svg"
|
||||
BADGE_PREFIX: "gist://wzshiming/6e1f67a5184f93cefc5b2c670a5813e5"
|
||||
run: |
|
||||
wget https://github.com/wzshiming/putingh/releases/download/v0.6.2/putingh_linux_amd64 -O /usr/local/bin/putingh && chmod +x /usr/local/bin/putingh
|
||||
GH_TOKEN="${GH_TOKEN}" putingh "${BADGE_PATH}" sync.svg
|
||||
GH_TOKEN="${GH_TOKEN}" putingh "${BADGE_PREFIX}/daocloud-sync-badge.svg" badge.svg
|
||||
GH_TOKEN="${GH_TOKEN}" putingh "${BADGE_PREFIX}/daocloud-sync.log" sync.log
|
||||
|
Reference in New Issue
Block a user