update deployment workflow

- Deploy to CF Pages on pushes to 'prod' branch
- Add a script to push main to prod
This commit is contained in:
2026-03-26 12:19:10 -04:00
parent 03fe6377e8
commit d4afa30c4f
2 changed files with 3 additions and 2 deletions

View File

@@ -29,7 +29,8 @@
"preview": "astro preview",
"astro": "astro",
"generate:og": "tsx scripts/generate-og-image.ts",
"prettier": "prettier --write **/*.{ts,tsx,css,astro} --ignore-path .gitignore"
"prettier": "prettier --write **/*.{ts,tsx,css,astro} --ignore-path .gitignore",
"deploy": "git push origin main:prod"
},
"dependencies": {
"@astrojs/check": "^0.9.8",