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

10 lines
164 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