Files
blog/pull-and-update.sh
2026-02-03 10:39:13 +01:00

10 lines
166 B
Bash
Executable File

#!/bin/bash
set -e
# https://stackoverflow.com/a/1482133/270712
MYDIR=`dirname -- "$( readlink -f -- "$0"; )";`
pushd "$MYDIR"
git pull
docker compose up build
popd