Deploy to Fly.io #18
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: | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
concurrency: deploy-group | |
environment: Fly.io Production | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Fly CLI | |
uses: superfly/flyctl-actions/setup-flyctl@master | |
- name: Deploy to Fly | |
run: flyctl deploy --remote-only --build-secret GEOIPUPDATE_LICENSE_KEY=${{ secrets.GEOIPUPDATE_LICENSE_KEY }} | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |