gabrielsimmer.com/.gitea/workflows/flyctl-deploy.yml

18 lines
394 B
YAML
Raw Normal View History

2023-07-21 09:14:17 +01:00
name: Fly Deploy
on:
push:
branches:
- trunk
jobs:
deploy:
name: Deploy app
runs-on: debian-latest-arm
2023-07-21 09:14:17 +01:00
steps:
- uses: actions/checkout@v3.6.0
2023-07-21 09:14:17 +01:00
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 }}