medium.rip/.github/workflows/deploy.yml
Sphericalkat 2954f4848d feat(deploy): add workflow to deploy to fly.io on push
Signed-off-by: Sphericalkat <amolele@gmail.com>
2023-05-28 23:08:19 +05:30

12 lines
304 B
YAML

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