Merge pull request #600 from sosedoff/fly-ci-cd

Setup fly deployment
This commit is contained in:
Dan Sosedoff 2022-12-05 18:00:23 -06:00 committed by GitHub
commit 1cd79005c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
.github/workflows/deploy.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: demo deploy
on:
push:
branches:
- master
env:
FLY_API_TOKEN: ${{ secrets.FLY_TOKEN }}
jobs:
deploy:
name: Deploy to Fly
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only