Reading the docs about the GHA, it looks like you ...
# pacc-london-2023
g
Reading the docs about the GHA, it looks like you can’t have anything requiring input in the CLI. However, as I have
schedule: null
in my deployments, it always asks me
? Would you like to schedule when this flow runs? [y/n] (y):
. Is there a way of permanently disabling this? i.e. say “this is never going to have a schedule”. Using
schedule: null
,
schedule: false
and
schedule: {}
in the deployment yaml don’t work.
For anyone else wondering, I did a traipse through the source code, and followed a deprecation warning to find that you could at least remove the prompt using:
Copy code
prefect --no-prompt deploy
However, from the source code, this appears to be the only way that you can avoid the warning… 😞