Closed JuzerShakir closed 1 year ago
Ok, so I mistakenly added FLY_API_TOKEN
secret to an 'Environments secret' instead of adding it to the 'Repository secret' and that's the reason why it couldn't access the secret as it was looking in the 'Repository secret', hence the error, No access token available
.
Describe the bug
So I want to deploy my ruby on rails application after all the test passes to fly.io, so I followed the instructions in this document but it doesn’t seem to work.
I receive this error message `No access token available. Please login with 'flyctl auth login'
Fly version:
flyctl 0.0.470
My
fly.toml
filemain.yml
fileCommand output:
Here’s the error received by github-actions:
I have already setup FLY_API_TOKEN in my github secrets.