From 4f05bb8b2cc7c01a50f34956a42548f9d84fe4f8 Mon Sep 17 00:00:00 2001 From: Erope Date: Thu, 26 May 2022 10:55:14 +0800 Subject: [PATCH] JSdelivr -> Jihulab --- .github/workflows/dashboard.yml | 12 ------------ script/install.sh | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/dashboard.yml b/.github/workflows/dashboard.yml index dffdf09..d3001f1 100644 --- a/.github/workflows/dashboard.yml +++ b/.github/workflows/dashboard.yml @@ -55,15 +55,3 @@ jobs: tags: | ${{ steps.image-name.outputs.GHRC_IMAGE_NAME }} ${{ steps.image-name.outputs.ALI_IMAGE_NAME }} - - - name: Purge jsdelivr cache - run: | - curl -s https://purge.jsdelivr.net/gh/${{ github.repository_owner }}/nezha@master/script/install.sh - curl -s https://purge.jsdelivr.net/gh/${{ github.repository_owner }}/nezha@master/script/nezha-agent.service - curl -s https://purge.jsdelivr.net/gh/${{ github.repository_owner }}/nezha@master/script/docker-compose.yaml - curl -s https://purge.jsdelivr.net/gh/${{ github.repository_owner }}/nezha@master/script/config.yaml - LOWER_USERNAME=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]') - curl -s https://purge.jsdelivr.net/gh/$LOWER_USERNAME/nezha@master/script/install.sh - curl -s https://purge.jsdelivr.net/gh/$LOWER_USERNAME/nezha@master/script/nezha-agent.service - curl -s https://purge.jsdelivr.net/gh/$LOWER_USERNAME/nezha@master/script/docker-compose.yaml - curl -s https://purge.jsdelivr.net/gh/$LOWER_USERNAME/nezha@master/script/config.yaml diff --git a/script/install.sh b/script/install.sh index d3d4637..50fa537 100755 --- a/script/install.sh +++ b/script/install.sh @@ -75,7 +75,7 @@ pre_check() { Get_Docker_Argu=" " Docker_IMG="ghcr.io\/naiba\/nezha-dashboard" else - GITHUB_RAW_URL="fastly.jsdelivr.net/gh/naiba/nezha@master" + GITHUB_RAW_URL="jihulab.com/nezha/nezha/-/raw/master" GITHUB_URL="dn-dao-github-mirror.daocloud.io" Get_Docker_URL="get.daocloud.io/docker" Get_Docker_Argu=" -s docker --mirror Aliyun"