Files
kennethreitz.org/.github/workflows/fly.yml
T
kennethreitz 3dbcb87cdf Add production environment to Fly deploy workflow
Links deploys to GitHub's Deployments tab with the site URL.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 09:44:13 -04:00

20 lines
437 B
YAML

name: Fly Deploy
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
concurrency: deploy-group
environment:
name: production
url: https://kennethreitz.org
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}