this repo has no description
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
12git submodule init
13git submodule update --recursive --remote
14
15# restart/rebuild all containers
16docker compose build --no-cache
17docker compose up -d --force-recreate
18
19# clear out dockerfiles to stop my drive exploding
20docker system prune -af
21
22# return prev state of fs
23git stash pop
24exit 0