History

add deploy script for Cloudflare Workers

Rhys Sullivan committed 7 months ago

Commit 933682d1 parent 51af1c92 files · +2 −1Browse files

Unified · Split

2 files
  1. apps/marketing/astro.config.mjs +1 −1
  2. apps/marketing/package.json +1 −0
apps/marketing/astro.config.mjs+1−1
@@ -12,5 +12,5 @@ export default defineConfig({ · 11 unmodified lines
1212 plugins: [tailwindcss()]
1313 },
1414
15− adapter: cloudflare()
15+ adapter: cloudflare(),
1616 });
apps/marketing/package.json+1−0
@@ -9,6 +9,7 @@ · 8 unmodified lines
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": {