Deploy Pages production branch by default

This commit is contained in:
2026-06-25 03:12:37 +09:00
parent d8af980f7d
commit f928028007
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
"build": "astro build",
"preview": "astro preview --host 0.0.0.0",
"build:wasm": "wasm-pack build ../../crates/decodal-wasm --target web --out-dir ../../site/decodal-site/src/wasm --release",
"deploy": "npm run build && wrangler pages deploy dist --project-name ${CLOUDFLARE_PROJECT_NAME:-decodal-site}",
"deploy": "npm run build && wrangler pages deploy dist --project-name ${CLOUDFLARE_PROJECT_NAME:-decodal-site} --branch ${CLOUDFLARE_BRANCH:-master}",
"deploy:wasm": "npm run build:wasm && npm run deploy"
},
"dependencies": {