I think you’re out of luck unless code changes (1, 2) are made to flyctl
to allow for a non-interactive deploy
.
Btw, consider using the new setup-flyctl
gh-action (nb, it won’t fix the issue you’re seeing).
As a workaround, see: How do I automatically answer y in bash script? - Unix & Linux Stack Exchange (example).
cc: @jsierles