Error: create ssh certificate: Not authorized to manage this organization.

I am deploying a Ruby on Rails application with Fly.io.
I have created and run fly.yml to deploy automatically with GitHub Actions, but it is stuck with errors.
Please help.

fly.yml:

name: Fly Deploy
on:
  push:
    branches:
      - main
jobs:
  deploy:
    name: Deploy app
    runs-on: ubuntu-latest
    env:
      FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
    steps:
      - uses: actions/checkout@v3
      - uses: superfly/flyctl-actions/setup-flyctl@master
      - run: flyctl deploy --remote-only
      - run: flyctl ssh console --command "bin/rails db:migrate"

errors:

Run flyctl ssh console --command "bin/rails db:migrate"
Error: create ssh certificate: Not authorized to manage this organization. (if you haven't created a key for your org yet, try `flyctl ssh issue`)
Error: Process completed with exit code 1.