Skip to content

Commit

Permalink
Merge pull request #74 from Holo-Host/fix-deployment
Browse files Browse the repository at this point in the history
bump wrangler to v3, clean up wrangler settings
  • Loading branch information
peeech authored Feb 29, 2024
2 parents ef7eab5 + f59d0ac commit b6c1658
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy-to-alphaNet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
name: Deploy server
steps:
- uses: actions/checkout@v2
- name: Publish to alphaNet
uses: cloudflare/wrangler-action@2.0.0
uses: cloudflare/wrangler-action@3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
preCommands: 'yarn add @cloudflare/kv-asset-handler'
workingDirectory: 'server'
environment: alphanet
5 changes: 2 additions & 3 deletions .github/workflows/deploy-to-devNet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
name: Deploy server
steps:
- uses: actions/checkout@v2
- name: Publish to devNet
uses: cloudflare/wrangler-action@2.0.0
uses: cloudflare/wrangler-action@3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
preCommands: 'yarn add @cloudflare/kv-asset-handler'
workingDirectory: 'server'
3 changes: 1 addition & 2 deletions server/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name = "devnet-auth-server"
account_id = "18ff2b4e6205b938652998cfca0d8cff"
route = "devnet-auth-server.holo.host/*"
compatibility_date = "2024-02-19"
main = "dist/main.js"
kv_namespaces = [
{ binding = "SETTINGS", id = "5181f479e6d84fc9835c5195b08a7029"}
]
Expand All @@ -15,5 +16,3 @@ route = "auth-server.holo.host/*"
kv_namespaces = [
{ binding = "SETTINGS", id = "56ecfe1cf54d43839e2c867798e5003b"}
]

main = "dist/main.js"

0 comments on commit b6c1658

Please sign in to comment.