File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -39,17 +39,6 @@ ssh $SSH_OPTS $REMOTE_USER@$REMOTE_HOST "cd $REMOTE_DIR && chmod +x ./bin/instal
3939# Run Supabase setup and migrations on the remote server
4040echo -e " ${YELLOW} Running Supabase setup and migrations on remote server...${NC} "
4141
42- # First, ensure the .env file is properly set up on the remote server
43- if [ -f .env ]; then
44- echo -e " ${YELLOW} Copying .env file to remote server...${NC} "
45- scp $SSH_OPTS .env $REMOTE_USER @$REMOTE_HOST :$REMOTE_DIR /.env
46-
47- if [ $? -ne 0 ]; then
48- echo -e " ${RED} Failed to copy .env file to remote server. Aborting.${NC} "
49- exit 1
50- fi
51- fi
52-
5342# Run the Supabase setup
5443echo -e " ${YELLOW} Running Supabase setup on remote server...${NC} "
5544ssh $SSH_OPTS $REMOTE_USER @$REMOTE_HOST " cd $REMOTE_DIR && chmod +x ./bin/supabase-db.sh && ./bin/supabase-db.sh setup"
You can’t perform that action at this time.
0 commit comments