Skip to content

Commit 933682d

Browse files
committed
add deploy script for Cloudflare Workers
1 parent 51af1c9 commit 933682d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

apps/marketing/astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ export default defineConfig({
1212
plugins: [tailwindcss()]
1313
},
1414

15-
adapter: cloudflare()
15+
adapter: cloudflare(),
1616
});

apps/marketing/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"dev": "astro dev",
1010
"build": "astro build",
1111
"preview": "astro preview",
12+
"deploy": "astro build && bunx wrangler deploy --config dist/server/wrangler.json",
1213
"astro": "astro"
1314
},
1415
"dependencies": {

0 commit comments

Comments
 (0)