From b7de5d141430fc7edcc2402a5c28123baeead524 Mon Sep 17 00:00:00 2001 From: ciiiii Date: Fri, 14 Jun 2024 02:16:59 +0800 Subject: [PATCH] Fix ci --- .github/workflows/stage.yaml | 2 +- wrangler.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stage.yaml b/.github/workflows/stage.yaml index 2a68ce1..db045f6 100644 --- a/.github/workflows/stage.yaml +++ b/.github/workflows/stage.yaml @@ -19,5 +19,5 @@ jobs: with: apiToken: ${{ secrets.CF_API_TOKEN }} accountId: ${{secrets.CF_ACCOUNT_ID}} - command: deploy --env staging --minify src/index.ts + command: deploy --env staging --minify src/index.js environment: staging \ No newline at end of file diff --git a/wrangler.toml b/wrangler.toml index db3b466..70e91fd 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -28,6 +28,8 @@ routes = [ name = "cloudflare-docker-proxy-staging" route = { pattern = "docker-staging.libcuda.so", custom_domain = true } +[env.staging.vars] + [env.dev.vars] MODE = "debug" TARGET_UPSTREAM = "https://registry-1.docker.io" \ No newline at end of file