We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a31618 commit 5069eb4Copy full SHA for 5069eb4
1 file changed
deploy-server
@@ -30,8 +30,7 @@ echo
30
ssh $remote rm -rf $target
31
ssh $remote cp -a $active $target
32
rsync -rpcv --fsync --chmod=D755,F644 --delete build/libs/ $remote:$target
33
-ssh $remote ln -snf $target $path/deploy
34
-ssh $remote sync .
+ssh $remote "ln -snf $target $path/deploy && sync $path/deploy"
35
ssh $remote systemctl daemon-reload
36
ssh $remote systemctl restart attestation
37
0 commit comments