Out of nowhere I started getting some errors with Github Actions.
I’m guessing something changed and I need to update something either on the action file itself or in my fly.toml file.
The error is:
ERROR: No buildpack groups passed detection.
ERROR: Please check that you are running against the correct path.
ERROR: failed to detect: no buildpacks participating
Error: failed to fetch an image or build from source: executing lifecycle: failed with status code: 20
Error: Process completed with exit code 1.
Ok so not sure what the issue was, but what I did was to delete the application instance (Probably wasn’t needed)
Then I deleted fly.toml and did a clean flyctl launch
This created a new fly.toml and also a .dockerignore and a Dockerfile
Then did a fly deploy to see if everything works ok and finally pushing to github got actions working again. (On the github action I moved the env: to be set as recommended on the updated guide at Continuous Deployment with Fly.io and GitHub Actions · Fly Docs