From 7320c26f9e7eba0bb3ed6226a7c194f21a5aa77f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E7=92=9F?= Date: Wed, 23 Oct 2024 09:13:53 +0800 Subject: [PATCH] Update dockerhub_proxy.yml --- .github/workflows/dockerhub_proxy.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/dockerhub_proxy.yml b/.github/workflows/dockerhub_proxy.yml index 99048a6a..85b7e641 100644 --- a/.github/workflows/dockerhub_proxy.yml +++ b/.github/workflows/dockerhub_proxy.yml @@ -24,7 +24,7 @@ jobs: new_backends="const backends = [${urls}]" # 更新 cloudflare.js 文件中的 backends 数组 - sed -i "s|const backends = \[.*\]|${new_backends}|" cloudflare.js + sed -i "s|var backends = \[.*\]|${new_backends}|" cloudflare.js - name: Set compatibility date id: set-date @@ -36,8 +36,3 @@ jobs: apiToken: ${{ secrets.EDIT_CLOUDFLARE_WORKERS }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} command: deploy docker/cloudflare.js --name test --compatibility-date ${{ env.COMPATIBILITY_DATE }} - - # - name: Commit and push changes - # uses: stefanzweifel/git-auto-commit-action@v4 - # with: - # commit_message: update cloudflare.js