A script that automatically create's a github action to deploy the current repo to fly.io
- Create's a deploy token from fly.io
- Create's a github secret containing it (if gh cli available, otherwise will print it)
- create a .github/workflows/fly.yml file containing the workflow, triggering based on the current branch
curl https://raw.githubusercontent.com/sauercrowd/fly-github-actions-setup/main/setup.sh | bash -
If you want something easier to remember - https://fly-deploy.jonas.foo redirects to the contents of setup.sh