diff --git a/update-site.bat b/update-site.bat new file mode 100644 index 0000000..f61385a --- /dev/null +++ b/update-site.bat @@ -0,0 +1,13 @@ +@echo off +cd /d C:\kb-personal +echo Updating project... + +git reset --hard +git clean -fd +git pull +call python "C:\scripts\add-slug.py" "C:\kb-personal\src\content\docs\knowledge-base" +call npm install +call npm run build + +robocopy dist C:\Apache24\htdocs\kb-personal /MIR /NP /NFL /NDL +exit /b 0 \ No newline at end of file