More efficient transfer course update #280
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Fly.io | |
on: | |
push: | |
branches: ["main"] | |
jobs: | |
deploy: | |
name: Deploy to Fly.io | |
runs-on: ubuntu-20.04 | |
concurrency: | |
group: fly-deploy | |
cancel-in-progress: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Fly CLI | |
uses: superfly/flyctl-actions/setup-flyctl@master | |
- name: Deploy to Fly | |
run: | | |
flyctl deploy -c fly/api.toml --strategy bluegreen | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |