Skip to content

Update fly.toml

Update fly.toml #5

Workflow file for this run

name: Deploy to Fly.io
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install backend dependencies
run: cd backend && npm install
- name: Install frontend dependencies
run: cd frontend && npm install && npm run build
- name: Install Fly CLI
uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy to Fly.io
run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}