Skip to content

add backend deploy

add backend deploy #1

name: Fly.io Deployment
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy to Fly.io
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Fly CLI
uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy to Fly.io without HA
run: flyctl deploy --remote-only --ha=false
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}