Auto deploy to fly on changes to master.

This commit is contained in:
Mariano Uvalle 2023-11-12 06:45:02 +00:00
parent 9a0526800e
commit 39798f50f7

16
.github/workflows/fly-deploy.yml vendored Normal file
View file

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