Issue with Github Actions

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.

Anyone know what this error means?

Adding my fly.toml as I believe the key of the issue may be here.

app = "mam"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []

[build]
  builder = "heroku/buildpacks:20"

[env]
  PORT = "8080"

[experimental]
  allowed_public_ports = []
  auto_rollback = true

[[services]]
  http_checks = []
  internal_port = 8080
  processes = ["app"]
  protocol = "tcp"
  script_checks = []
  [services.concurrency]
    hard_limit = 25
    soft_limit = 20
    type = "connections"

  [[services.ports]]
    force_https = true
    handlers = ["http"]
    port = 80

  [[services.ports]]
    handlers = ["tls", "http"]
    port = 443

  [[services.tcp_checks]]
    grace_period = "1s"
    interval = "15s"
    restart_limit = 0
    timeout = "2s"

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

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.