18 lines
413 B
YAML
18 lines
413 B
YAML
|
name: Fly Deploy
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- trunk
|
||
|
jobs:
|
||
|
deploy:
|
||
|
name: Deploy app
|
||
|
runs-on: debian-latest
|
||
|
steps:
|
||
|
- uses: https://github.com/RouxAntoine/checkout@v3.5.4
|
||
|
with:
|
||
|
ref: trunk
|
||
|
- uses: https://github.com/superfly/flyctl-actions/setup-flyctl@master
|
||
|
- run: flyctl deploy --remote-only
|
||
|
env:
|
||
|
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|