Skip to content

git action master

git action master #1

Workflow file for this run

name: Deploy FastAPI
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Fly CLI
uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy to Fly.io
run: flyctl deploy --remote-only --config fastapi-postgres/fly.toml
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}