I’ve got Github Actions configured to deploy and that’s currently failing with a dischargeroottoken error. This worked fine until now.
fly-deploy:
needs: test
name: fly-deploy
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
The error.
--> Pushing image done
image: registry.fly.io/retrevo:deployment-01H18SD5RKZVCGHMFMRW60PD50
image size: 546 MB
Watch your app at https://fly.io/apps/retrevo/monitoring
Running retrevo release_command: bin/rails fly:release
Error: release command failed - aborting deployment. error running release_command machine: error creating a release_command machine: failed to launch VM: Not authorized to access this dischargeroottoken
Error: Process completed with exit code 1.
Any idea how to fix this? Much appreciated.