-
This commit is contained in:
4
build.sh
4
build.sh
@@ -12,11 +12,11 @@ export NEXT_PUBLIC_BASE_PATH="/$PREFIX"
|
||||
|
||||
# mkdir -p "out"
|
||||
|
||||
# pnpm install --frozen-lockfile
|
||||
pnpm install
|
||||
pnpm run build
|
||||
|
||||
# local mirror (optional)
|
||||
# rsync -rav --delete dist/ "${HOME}/hero/var/www/$PREFIX/"
|
||||
|
||||
# deploy to veda server
|
||||
rsync -avz --delete out/ "root@veda.info:/root/hero/www/info/$PREFIX/"
|
||||
rsync -avz --delete out/ "root@veda.info:/root/hero/www/info/$PREFIX/"
|
||||
|
Reference in New Issue
Block a user