adtya.xyz/.github/workflows/fly.yml

19 lines
356 B
YAML
Raw Permalink Normal View History

2024-01-04 18:23:08 +05:30
name: Deploy to Fly.io
on:
push:
branches:
- main
workflow_dispatch:
2024-01-04 18:23:08 +05:30
jobs:
deploy:
name: Deploy
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 }}