This commit is contained in:
ciiiii
2024-06-14 02:16:59 +08:00
parent ae982cd6c7
commit b7de5d1414
2 changed files with 3 additions and 1 deletions

View File

@@ -19,5 +19,5 @@ jobs:
with: with:
apiToken: ${{ secrets.CF_API_TOKEN }} apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{secrets.CF_ACCOUNT_ID}} accountId: ${{secrets.CF_ACCOUNT_ID}}
command: deploy --env staging --minify src/index.ts command: deploy --env staging --minify src/index.js
environment: staging environment: staging

View File

@@ -28,6 +28,8 @@ routes = [
name = "cloudflare-docker-proxy-staging" name = "cloudflare-docker-proxy-staging"
route = { pattern = "docker-staging.libcuda.so", custom_domain = true } route = { pattern = "docker-staging.libcuda.so", custom_domain = true }
[env.staging.vars]
[env.dev.vars] [env.dev.vars]
MODE = "debug" MODE = "debug"
TARGET_UPSTREAM = "https://registry-1.docker.io" TARGET_UPSTREAM = "https://registry-1.docker.io"