Skip to content

feat: deploy application on push to main branch (#4) #1

feat: deploy application on push to main branch (#4)

feat: deploy application on push to main branch (#4) #1

Workflow file for this run

name: Deploy to Fly
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}