improve push

main
Dominik Madarász 2024-08-19 00:15:19 +02:00
parent 0e6675cf5f
commit 0618a98139
1 changed files with 18 additions and 0 deletions

View File

@ -248,6 +248,24 @@ if "%1"=="push" (
call make.bat vps call make.bat vps
call make.bat tidy call make.bat tidy
@REM sync depot
git stash
git add depot
git commit -m "sync depot"
if not "%3"=="local" (
git pull
git push
)
git stash pop
@REM sync website
git stash
git add website
git commit -m "sync website"
git pull
git push
git stash pop
exit /b exit /b
) )