Files
easypanel-supabase-compose/supabase/update.sh
T
2024-07-26 15:34:09 +03:00

14 lines
278 B
Bash

#!/bin/bash
# check if ./repo exists
if [ ! -d "./repo" ]; then
git clone --depth 1 --branch master --single-branch https://github.com/supabase/supabase repo
else
cd repo
git pull
cd ..
fi
# copy files from ./repo/docker to ./code
cp -r ./repo/docker/. ./code