···11#!/usr/bin/env bash
2233-echo
44-echo
55-echo "Got new commit: $(date)"
66-echo "---"
77-echo
33+echo "\n\nGot new commit: $(date)\n---\n\n"
8495# pull latest version
106git fetch --all
···2723# restart/rebuild all containers
2824docker compose build --no-cache
2925docker compose up -d --force-recreate
3030-# add second docker compose up because it acts up ??
3131-docker compose up -d
32263327# clear out dockerfiles to stop my drive exploding
3434-docker system prune -af
2828+docker system prune -af > /dev/null
35293630cat <<- BODY | curl -d @- http://compuper:6500/notify
3731name=vps%3A%20ready%20($(git log -1 --pretty=format:%h))\