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 b75b7fb commit 7aad9ecCopy full SHA for 7aad9ec
deploy.sh
@@ -1,8 +1,9 @@
1
#!/bin/bash
2
set -eux
3
+server=lisp@bikelis
4
go build
-ssh bikelis 'pkill troll-shield || true'
5
-scp troll-shield bikelis:
6
-git describe --tags | ssh bikelis 'cat > version.txt'
7
-ssh bikelis 'tmux new-session -d -s troll'
+ssh $server 'pkill troll-shield || true'
+scp troll-shield $server:
+git describe --tags | ssh $server 'cat > version.txt'
8
+ssh bikelis 'tmux new-session -d -s troll || true'
9
ssh bikelis 'tmux new-window -d ./run.sh'
0 commit comments