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"