diff --git a/script/updatenetflux b/script/updatenetflux new file mode 100755 index 0000000..7c2546c --- /dev/null +++ b/script/updatenetflux @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +# +# updatenetflux - pull and restart containers on remote server + +set -e + +remotehost=netflux + +ssh $remotehost 'cd dev/netflux-internals && git pull --rebase && docker-compose down -v && docker-compose pull && docker-compose up -d --force-recreate' + +# invidious requires a local build, managed by a separate script. +updateinvidious