Push-and-update script.
This commit is contained in:
9
pull-and-update.sh
Executable file
9
pull-and-update.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# https://stackoverflow.com/a/1482133/270712
|
||||
MYDIR=dirname -- "$( readlink -f -- "$0"; )";
|
||||
pushd "$MYDIR"
|
||||
git pull
|
||||
docker compose up build
|
||||
popd
|
||||
Reference in New Issue
Block a user