diff --git a/.github/workflows/stage.yaml b/.github/workflows/stage.yaml index 2a68ce1f..db045f69 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 db3b466a..70e91fd1 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