Add Netlify build command

This commit is contained in:
Sam Carlton 2022-04-25 22:19:24 -05:00
parent 723cb4e9b5
commit 65561e71c0
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,6 @@
[build] [build]
publish = "dist/" publish = "dist/"
command = "npm run generate --quiet" command = "npm run netlify-build"
# functions = "functions/"

View file

@ -34,7 +34,8 @@
"precommit": "npm run lint", "precommit": "npm run lint",
"clone-readme": "cp ./README.md README-temp.md", "clone-readme": "cp ./README.md README-temp.md",
"cloudflare-deploy": "npm run build-api", "cloudflare-deploy": "npm run build-api",
"vercel-build": "npm run build-lists-and-api" "vercel-build": "npm run build-lists-and-api",
"netlify-build": "npm run generate-astro"
}, },
"dependencies": { "dependencies": {
"@11ty/eleventy-assets": "^1.0.5", "@11ty/eleventy-assets": "^1.0.5",