this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 07399d134bfd88950e4ab43cec8b0d5b5b9aa3f1 26 lines 652 B view raw
1#!/usr/bin/env bash 2 3echo 4echo 5echo "Got new commit: $(date)" 6echo "---" 7echo 8 9# pull latest version 10git fetch --all 11git reset --hard origin/main 12 13echo "git fetched!" 14 15curl -d "name=pi%20git%20updated%20$(git log -1 --pretty=format:%h)&body=fetched%20latest%20git%20commit%20for%20vielle.dev/pi-config&key=pi/commit/git" http://compuper:6500/notify 16 17# restart/rebuild all containers 18docker compose build 19docker compose up -d --force-recreate --remove-orphans 20 21# clear out dockerfiles to stop my drive exploding 22docker system prune -af 23 24curl -d "name=pi%20ready&body=finished%20building%20docker&key=pi/commit/build" http://compuper:6500/notify 25 26exit 0