Files
paste/.github/workflows/flyci.yml
Gunwant Jain dff3e673c2 flyci: detach daemon after deployment
Otherwise the github action hangs on the job.
I should open an issue regarding this on fly's tracker.

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2022-01-25 03:21:03 +05:30

21 lines
366 B
YAML

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 --detach"