mirror of
https://github.com/SphericalKat/medium.rip.git
synced 2024-12-27 10:05:58 +00:00
18 lines
381 B
YAML
18 lines
381 B
YAML
name: Fly Deploy
|
|
on:
|
|
workflow_run:
|
|
workflows: ["Run tests"]
|
|
branches: [main]
|
|
types:
|
|
- completed
|
|
env:
|
|
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
|
jobs:
|
|
deploy:
|
|
name: Deploy to fly.io
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: superfly/flyctl-actions/setup-flyctl@master
|
|
- run: flyctl deploy --remote-only
|