Add automated Fly.io deployments

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
Gunwant Jain
2022-01-21 12:36:36 +05:30
parent 54aa737661
commit fa9a97ce9c
3 changed files with 62 additions and 1 deletions

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

@@ -0,0 +1,20 @@
name: Fly.io Deploy
on:
workflow_run:
workflows: ["Docker CI"]
types:
- completed
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions@1.1
with:
args: "deploy"