TICLinky/update.sh
2022-12-07 15:34:21 +01:00

12 lines
211 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit
mkdir -p workdir
# needs the presence of a docker-compose.yml file (use the provided example)
docker compose down && \
git pull && \
mvn clean package && \
docker compose up -d