about summary refs log tree commit diff
path: root/deploy/scripts/update-containers.sh
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2023-01-17 13:59:40 -0600
committerStarfall <us@starfall.systems>2023-01-17 14:26:55 -0600
commit7515716e7f3950a3a6de04aac1b88215aa40795e (patch)
tree9a67642bfde79cfef092de8b87a3c80bd2ccad43 /deploy/scripts/update-containers.sh
parent0d0c26b589a0fedb4cf336683da4c0272a4391d1 (diff)
update almost everything except the setup script
Diffstat (limited to 'deploy/scripts/update-containers.sh')
-rw-r--r--deploy/scripts/update-containers.sh19
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
-}