You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
With the recent change, supabase db push asks for a confirmation. I looked at the PR (#1978) and it should automatically default to yes in a non-interactive shell. Unfortunately, that does not seem the case if it's part of a package.json script.
We have a turbo-powered monorepo, and supabase is a package in that repo. To deploy, we call the deploy script in all packages. For supabase, it looks like this:
"deploy": "supabase link --project-ref $SUPABASE_PROJECT_REF && supabase db push --debug",
But this hangs forever. It can be fixed by using yes:
"deploy": "supabase link --project-ref $SUPABASE_PROJECT_REF && yes | supabase db push --debug",
To Reproduce
Steps to reproduce the behavior:
Put supabase db push into a package json script
Call it from turbo within a GitHub Action runner
Expected behavior
Should default to yes. Or: provide a --non-interactive flag so that the user can explicitly set the mode.
System information
Version of CLI: 1.164.1
The text was updated successfully, but these errors were encountered:
Describe the bug
With the recent change,
supabase db push
asks for a confirmation. I looked at the PR (#1978) and it should automatically default to yes in a non-interactive shell. Unfortunately, that does not seem the case if it's part of apackage.json
script.We have a turbo-powered monorepo, and
supabase
is a package in that repo. To deploy, we call thedeploy
script in all packages. Forsupabase
, it looks like this:But this hangs forever. It can be fixed by using
yes
:To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should default to yes. Or: provide a
--non-interactive
flag so that the user can explicitly set the mode.System information
The text was updated successfully, but these errors were encountered: