Starts adding auto deploy

This commit is contained in:
Julien Lengrand-Lambert
2022-11-07 15:26:43 +01:00
parent 586b7f7189
commit d75cc119c2
5 changed files with 83 additions and 1 deletions

15
.github/workflows/fly.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
name: Fly Deploy
on:
push:
branches:
- main
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
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