Skip to content

bug: flyio configuration #2

bug: flyio configuration

bug: flyio configuration #2

name: Fly Deploy App
on:
push:
branches:
- main
paths:
- api/**
jobs:
deploy:
name: Deploy Api
runs-on: ubuntu-latest
concurrency: deploy-group # optional: ensure only one action runs at a time
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
working-directory: ./api
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}