This PR updates the release workflow to work with the new setup of tokens. I have moved the token used for checking out the repo into the repository secrets instead of environement secrets. I figure that if I have more pipelines setup, I will still always need to checkout the code, so this token should be available to all actions related to this repo. I removed my old environment and created a new Production one that contains the FLY_API_TOKEN. I'm using this environment with my deploy step because everything here is related to production. Changes include:
moving enviornment to deploy job and updating name to Production and url to fly.io
adding name for release job so it looks nice in GitHub
This PR updates the release workflow to work with the new setup of tokens. I have moved the token used for checking out the repo into the repository secrets instead of environement secrets. I figure that if I have more pipelines setup, I will still always need to checkout the code, so this token should be available to all actions related to this repo. I removed my old environment and created a new Production one that contains the FLY_API_TOKEN. I'm using this environment with my deploy step because everything here is related to production. Changes include: