I’m trying to use flyctl in a github action. I’m using the superfly/flyctl-actions/setup-flyctl at the latest version and it is installing flyctl at the latest version.
Per the instructions / readme I’m creating an Organization token and managing that in my github action secrets. At the moment, I’m doing a fly launch command when the action runs. The application is created successfully, but cannot deploy. At the deployment step, it fails with the error:
Error: failed creating token: input:3:2: createLimitedAccessToken Not authorized to access this createlimitedaccesstoken
When run locally (under the flyctl auth login) on my personal user, the command works. When run locally logged out and with the FLY_API_TOKEN set to my org token, it fails with the same error.
Any suggestions on how I can get the GHA working?