add script
This commit is contained in:
parent
7d1d905ea2
commit
a90f5df4bc
13
update-site.bat
Normal file
13
update-site.bat
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user