Action加入刷新jsdelivr缓存

This commit is contained in:
Erope 2021-04-11 20:47:33 +08:00
parent 4b1f487907
commit 3cbc94b9b7

View File

@ -35,3 +35,9 @@ jobs:
docker tag nezha-dasbboard $ALI_IMAGE_NAME
docker push $GHRC_IMAGE_NAME
docker push $ALI_IMAGE_NAME
- name: Purge jsdelivr cache
run: |
curl https://purge.jsdelivr.net/gh/${{ github.repository_owner }}/nezha@master/script/install.sh
curl https://purge.jsdelivr.net/gh/${{ github.repository_owner }}/nezha@master/script/nezha-agent.service
curl https://purge.jsdelivr.net/gh/${{ github.repository_owner }}/nezha@master/script/docker-compose.yaml
curl https://purge.jsdelivr.net/gh/${{ github.repository_owner }}/nezha@master/script/config.yaml