ci: links check during pr and everyday

Signed-off-by: Bird <aflybird0@gmail.com>
This commit is contained in:
Bird
2023-07-20 11:00:38 +08:00
parent 3133236ba9
commit eea4e63db4
5 changed files with 99 additions and 9 deletions

View File

@@ -11,17 +11,19 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@master
- name: install dependencies
run: |
sudo pip install coscmd
sudo pip install tccli
npm i
uses: actions/checkout@v3
- name: install doc dependencies
run: sudo npm i
- name: build
run: |
npm run docs:build
- name: install coscmd and tccli
run: |
sudo pip3 install coscmd
sudo pip3 install tccli
- name: confirgure coscmd and tccli
env:
@@ -38,4 +40,4 @@ jobs:
- name: upload and refresh cdn
run: |
coscmd upload -rfs --delete ./.vitepress/dist/ /
tccli cdn PurgePathCache --cli-unfold-argument --Paths https://wiki.xyxsw.site/ --FlushType flush
tccli cdn PurgePathCache --cli-unfold-argument --Paths https://wiki.xyxsw.site/ --FlushType flush