Closed kulor closed 2 years ago
Can see the issue stems from https://github.com/superfly/flyctl-actions/commit/372a8fcc09d83f0210be78687813a9ef4cfde339 which assumes it'll be invoking a deploy.
Also seem to be getting the following message in our builds:
sh: --config: unknown operand
There's a related issue in that using --local-deploy
will never succeed at all. I have a fix for it it in #15
@charsleysa I think my fix addresses your issue as well. You can verify by specifying uses: mveytsman/flyctl-actions@patch-1
in your workflow.
Thanks for the contributions. The fixes were merged in #14 and #15.
This snippet of Github action config has just started failing:
with the following error message:
Running the aforementioned script directly on the CLI
fly ssh console --command 'sh /app/build/scripts/post_deploy.sh'
works as expected (whilst using the latestflyctl
) so it seems specific to this action.