mirror of
https://github.com/PR0M3TH3AN/Archivox.git
synced 2025-09-08 06:58:43 +00:00
Merge pull request #9 from PR0M3TH3AN/codex/add-netlify.toml-and-update-readme
Add Netlify config
This commit is contained in:
@@ -230,7 +230,8 @@ To make DocForge truly user-friendly, include these instructions in the starter
|
|||||||
command = "npm run build"
|
command = "npm run build"
|
||||||
publish = "_site"
|
publish = "_site"
|
||||||
```
|
```
|
||||||
- Git push triggers deploys; previews for PRs.
|
- Connect the repo to Netlify by selecting **New site from Git** in your Netlify dashboard and picking this repository. Netlify will read `netlify.toml` so no extra setup is required. Once linked, pushes to `main` automatically build and deploy the site and pull requests get preview URLs.
|
||||||
|
- Ensure the generated `_site/` folder is git-ignored (see `.gitignore`) so deployments always use a fresh build.
|
||||||
- **Other Hosts**: Upload `_site/` to GitHub Pages, Vercel, etc.
|
- **Other Hosts**: Upload `_site/` to GitHub Pages, Vercel, etc.
|
||||||
|
|
||||||
## Extensibility Roadmap
|
## Extensibility Roadmap
|
||||||
|
3
netlify.toml
Normal file
3
netlify.toml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[build]
|
||||||
|
command = "npm run build"
|
||||||
|
publish = "_site"
|
Reference in New Issue
Block a user