Setting Up Staging Environment and CI/CD Pipeline on Fly.io

I currently have a main live environment set up on Fly.io and I am looking to set up a staging environment. Could you please guide me on whether I should set up a new machine for the staging environment or if there is a way to configure staging within Fly.io?

Additionally, I would like to know if it is possible to set up a CI/CD pipeline using GitHub Actions.

Thank you for your assistance.

I looked at doing this using GitHub actions. Fly doesn’t support different environments so you have to rename your apps like my-app-main, my-app-staging etc.