diff options
author | Starfall <us@starfall.systems> | 2023-01-17 13:59:40 -0600 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2023-01-17 14:26:55 -0600 |
commit | 7515716e7f3950a3a6de04aac1b88215aa40795e (patch) | |
tree | 9a67642bfde79cfef092de8b87a3c80bd2ccad43 /deploy/scripts/update-containers.sh | |
parent | 0d0c26b589a0fedb4cf336683da4c0272a4391d1 (diff) |
update almost everything except the setup script
Diffstat (limited to 'deploy/scripts/update-containers.sh')
-rw-r--r-- | deploy/scripts/update-containers.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/deploy/scripts/update-containers.sh b/deploy/scripts/update-containers.sh deleted file mode 100644 index 302731c..0000000 --- a/deploy/scripts/update-containers.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -[ -z "$COMPOSE" ] && COMPOSE="$(command -v docker-compose)" -[ -z "$COMPOSE" ] && COMPOSE="/usr/local/bin/docker-compose" - -cd "$HOME" || exit - -[ -z "$NGINX_WEBHOOK" ] || printf "Content-Type: text/plain\r\n\r\n" - -($COMPOSE pull 2>&1 | grep --silent "Downloaded newer") && { - $COMPOSE up -d - - docker cp "$($COMPOSE ps -q mstweb):/mastodon/public/assets" public/ - docker cp "$($COMPOSE ps -q mstweb):/mastodon/public/packs" public/ - - docker system prune --all -f - - curl -sS "https://raw.githubusercontent.com/pluralcafe/utils/master/deploy/docker-compose.yml" > docker-compose.yml -} |