From 3bf505cf138278c20fa7e0735318d118df5978de Mon Sep 17 00:00:00 2001 From: zo-el Date: Mon, 19 Feb 2024 13:41:59 -0600 Subject: [PATCH] wrangler updates: revert --- .github/workflows/deploy-to-alphaNet.yml | 2 +- .github/workflows/deploy-to-devNet.yml | 2 +- server/wrangler.toml | 10 ++++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-to-alphaNet.yml b/.github/workflows/deploy-to-alphaNet.yml index f6a7897..0e99887 100644 --- a/.github/workflows/deploy-to-alphaNet.yml +++ b/.github/workflows/deploy-to-alphaNet.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Publish to alphaNet - uses: cloudflare/wrangler-action@2.0.0 + uses: cloudflare/wrangler-action@1.1.0 with: apiToken: ${{ secrets.CF_API_TOKEN }} workingDirectory: 'server' diff --git a/.github/workflows/deploy-to-devNet.yml b/.github/workflows/deploy-to-devNet.yml index d057459..fd93915 100644 --- a/.github/workflows/deploy-to-devNet.yml +++ b/.github/workflows/deploy-to-devNet.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Publish to devNet - uses: cloudflare/wrangler-action@2.0.0 + uses: cloudflare/wrangler-action@1.1.0 with: apiToken: ${{ secrets.CF_API_TOKEN }} workingDirectory: 'server' diff --git a/server/wrangler.toml b/server/wrangler.toml index e74bdb0..3c18a0d 100644 --- a/server/wrangler.toml +++ b/server/wrangler.toml @@ -4,12 +4,14 @@ webpack_config = "webpack.config.js" account_id = "18ff2b4e6205b938652998cfca0d8cff" zone_id = "35f34e8f9d04ef8c87283ea9fb812989" route = "devnet-auth-server.holo.host/*" -main = "dist/main.js" -kv_namespaces = [ - { binding = "SETTINGS", id = "5181f479e6d84fc9835c5195b08a7029"}, -] +[[kv_namespaces]] +binding = "SETTINGS" +id = "5181f479e6d84fc9835c5195b08a7029" [env.alphanet] name = "auth-server" route = "auth-server.holo.host/*" +[[kv_namespaces]] +binding = "SETTINGS" +id = "5181f479e6d84fc9835c5195b08a7029"