print build log when deploying
This commit is contained in:
parent
73e93d864d
commit
0315a63c66
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
source "${BASH_SOURCE%/*}/daemon/common.bash"
|
||||
build_log="/tmp/treehouse_build.log"
|
||||
|
||||
trap 'trap - SIGTERM && kill 0' SIGTERM SIGINT EXIT
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
reload_fifo="/tmp/treehouse_reload.fifo"
|
||||
build_log="/tmp/treehouse_build.log"
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cd ~/repo
|
||||
|
||||
source "${BASH_SOURCE%/*}/common.bash"
|
||||
|
||||
git pull
|
||||
bash "${BASH_SOURCE%/*}/reload.bash"
|
||||
|
||||
echo "^C to exit build log ($build_log)"
|
||||
tail --retry -f "$build_log"
|
||||
|
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
source "${BASH_SOURCE%/*}/common.bash"
|
||||
|
||||
echo "Reloading"
|
||||
echo "reload" > "$reload_fifo"
|
||||
|
|
Loading…
Reference in a new issue