Skip to content

Commit

Permalink
Update netlify.toml build command for VitePress site deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Thavarshan committed Sep 30, 2024
1 parent d160ad3 commit 8a1b38a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build]
base = "docs/empty-netlify/" # Point to the placeholder directory without any dependencies
publish = "../.vitepress/dist" # Your actual publish directory where VitePress builds the static files
command = "cd ../ && npm install && npm run docs:build" # Run npm install and build the VitePress site
command = "cd ../ && npm install && npm run build" # Run npm install and build the VitePress site

[context.production.environment]
NETLIFY_SKIP_COMPOSER_INSTALL = "true"
Expand Down

0 comments on commit 8a1b38a

Please sign in to comment.