netflux-kubernetes/deploy/base/invidious-init.sh

7 lines
135 B
Bash

if [ -d /data/repo ]; then
cd /data/repo
git pull
else
git clone --depth 1 https://github.com/iv-org/invidious.git /data/repo
fi