deploy to fly.io

This commit is contained in:
Adithya 2024-01-04 18:23:08 +05:30
parent 0084631b28
commit 97d5710c2e
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

17
.github/workflows/fly.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Deploy to Fly.io
on:
push:
branches:
- main
jobs:
deploy:
name: 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 }}