TICLinky/update.sh
2022-12-07 14:22:06 +01:00

12 lines
211 B
Bash

#!/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