update deploy procedure
This commit is contained in:
parent
7c926c3449
commit
7469e8ae5a
5
admin/daemon/deploy.bash
Normal file
5
admin/daemon/deploy.bash
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
cd ~/repo
|
||||||
|
git pull
|
||||||
|
"${BASH_SOURCE%/*}/reload.bash"
|
2
admin/deploy.bash
Normal file → Executable file
2
admin/deploy.bash
Normal file → Executable file
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
ssh "$TREEHOUSE_SERVER" -p "$TREEHOUSE_SERVER_PORT" "bash" "~/repo/admin/daemon/reload.bash"
|
ssh "$TREEHOUSE_SERVER" -p "$TREEHOUSE_SERVER_PORT" "bash" "~/repo/admin/daemon/deploy.bash"
|
||||||
|
|
Loading…
Reference in a new issue