Skip to content

migrate

migrate #25

Workflow file for this run

name: Fly Deploy
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only --ha=false
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
# migrate:
# name: Migrate
# needs: deploy
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: superfly/flyctl-actions/setup-flyctl@master
# - run: flyctl ssh console -C "db/migrations.sh"
# env:
# FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}