fix sync
This commit is contained in:
parent
b47655f21e
commit
73a41d458b
|
|
@ -21,19 +21,13 @@ rsync -az --delete \
|
|||
--exclude '.git/' \
|
||||
../app/ "$HOST:$DEST/app/"
|
||||
|
||||
# additive sync for /bin and /www
|
||||
# additive sync for root, /bin, /www
|
||||
rsync -az \
|
||||
-e "ssh -o ControlPath=$SOCK" \
|
||||
--exclude 'node_modules/' \
|
||||
--exclude '.git/' \
|
||||
../bin/ "$HOST:$DEST/bin/"
|
||||
|
||||
rsync -az \
|
||||
-e "ssh -o ControlPath=$SOCK" \
|
||||
--exclude 'node_modules/' \
|
||||
--exclude '.git/' \
|
||||
../www/ "$HOST:$DEST/www/"
|
||||
|
||||
--exclude 'app/' \
|
||||
../ "$HOST:$DEST/"
|
||||
|
||||
# 3) remote deploy (reuses the connection)
|
||||
ssh -o ControlPath="$SOCK" "$HOST" "cd $DEST && bun install --frozen-lockfile && sudo systemctl restart nose-pluto.service"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user