File tree Expand file tree Collapse file tree 3 files changed +5
-89
lines changed Expand file tree Collapse file tree 3 files changed +5
-89
lines changed Original file line number Diff line number Diff line change 1- name : Deploy Restate Worker
2-
31on :
42 workflow_dispatch :
53 push :
@@ -21,26 +19,21 @@ jobs:
2119 node-version : 22
2220 cache : pnpm
2321 - run : pnpm install --frozen-lockfile
24-
25- - name : Build & Deploy Worker
26- uses : cloudflare/wrangler-action@v3
22+ - uses : cloudflare/wrangler-action@v3
2723 id : deploy
2824 with :
2925 apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
3026 accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
3127 workingDirectory : apps/restate
28+ packageManager : pnpm
3229 command : versions upload --message "Deployed via GitHub Actions - commit ${{ github.sha }}"
33-
34- - name : Get deployment URL
35- id : get-url
30+ - id : get-url
3631 env :
3732 WRANGLER_OUTPUT : ${{ steps.deploy.outputs.command-output }}
3833 run : |
39- URL=$(echo "$WRANGLER_OUTPUT" | awk '/Version Preview URL:/ {gsub(/.*Version Preview URL:/, ""); print $1 }')
34+ URL=$(echo "$WRANGLER_OUTPUT" | awk '/Version Preview URL:/ {gsub(/.*Version Preview URL: /, ""); print}')
4035 echo "deployment-url=$URL" >> $GITHUB_OUTPUT
41-
42- - name : Register Restate deployment
43- env :
36+ - env :
4437 RESTATE_ADMIN_URL : ${{ secrets.RESTATE_ADMIN_URL }}
4538 RESTATE_AUTH_TOKEN : ${{ secrets.RESTATE_AUTH_TOKEN }}
4639 run : npx -y @restatedev/restate deployment register -y ${{ steps.get-url.outputs.deployment-url }}
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ export const env = createEnv({
3030 VITE_SUPABASE_ANON_KEY : z . string ( ) . min ( 1 ) ,
3131 VITE_POSTHOG_API_KEY : isDev ? z . string ( ) . optional ( ) : z . string ( ) . min ( 1 ) ,
3232 VITE_POSTHOG_HOST : z . string ( ) . default ( "https://us.i.posthog.com" ) ,
33- VITE_RESTATE_INGRESS_URL : z . string ( ) . default ( "http://localhost:8080" ) ,
3433 } ,
3534
3635 runtimeEnv : { ...process . env , ...import . meta. env } ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments