Skip to content

Commit 5069eb4

Browse files
committed
fix symlink sync for deploy-server
1 parent 7a31618 commit 5069eb4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

deploy-server

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ echo
3030
ssh $remote rm -rf $target
3131
ssh $remote cp -a $active $target
3232
rsync -rpcv --fsync --chmod=D755,F644 --delete build/libs/ $remote:$target
33-
ssh $remote ln -snf $target $path/deploy
34-
ssh $remote sync .
33+
ssh $remote "ln -snf $target $path/deploy && sync $path/deploy"
3534
ssh $remote systemctl daemon-reload
3635
ssh $remote systemctl restart attestation
3736

0 commit comments

Comments
 (0)