this repo has no description
1
fork

Configure Feed

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

add more dubius debugging to commit.sh

+8 -7
+8 -7
commit.sh
··· 1 1 #!/usr/bin/env bash 2 2 3 - echo 4 - echo 5 - echo "Got new commit: $(date)" 6 - echo "---" 7 - echo 3 + echo "\n\nGot new commit: $(date)\n---\n" 8 4 9 5 # pull latest version 6 + echo "git fetch --all" 10 7 git fetch --all 8 + echo "git reset --hard origin/main" 11 9 git reset --hard origin/main 12 10 13 - echo "git fetched!" 14 - 11 + echo "cat <<BODY | curl -d @- http://compuper:6500/notify" 15 12 cat <<BODY | curl -d @- http://compuper:6500/notify 16 13 name=vps%3A%20git%20($(git log -1 --pretty=format:%h))\ 17 14 &timeout=5000\ ··· 20 17 BODY 21 18 22 19 # restart/rebuild all containers 20 + echo "docker compose build" 23 21 docker compose build 22 + echo "docker compose up -d --force-recreate --remove-orphans" 24 23 docker compose up -d --force-recreate --remove-orphans 25 24 26 25 # clear out dockerfiles to stop my drive exploding 26 + echo "docker system prune -af" 27 27 docker system prune -af 28 28 29 + echo "cat <<BODY | curl -d @- http://compuper:6500/notify" 29 30 cat <<BODY | curl -d @- http://compuper:6500/notify 30 31 name=pi%3A%20ready%20($(git log -1 --pretty=format:%h)) 31 32 &timeout=5000