There was an error while loading. Please reload this page.
1 parent e3d1d56 commit 200ea8eCopy full SHA for 200ea8e
1 file changed
.github/workflows/deploy-relay.yml
@@ -59,6 +59,16 @@ jobs:
59
args:
60
- --filter=t3code-relay...
61
62
+ # Alchemy keeps its resource state in a Cloudflare Worker that has to
63
+ # exist before the first apply. Without `force` this adopts an existing
64
+ # store and refreshes its credentials, so running it every deploy is a
65
+ # no-op after the first and survives the store being deleted.
66
+ - name: Bootstrap Alchemy state store
67
+ working-directory: infra/relay
68
+ run: node node_modules/alchemy/bin/cli.js cloudflare bootstrap
69
+ env:
70
+ CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
71
+
72
- name: Deploy production relay stage
73
id: deploy
74
run: vp run --filter t3code-relay deploy --stage prod --yes --github-output
0 commit comments