From flyio-pack
Configures GitHub Actions CI/CD workflows for Fly.io: Docker builds, deploy tokens, staging/production deploys on push/PR to main.
How this skill is triggered — by the user, by Claude, or both
Slash command
/flyio-pack:flyio-ci-integrationThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Set up CI/CD for Fly.io with GitHub Actions: build Docker images, deploy on push to main, and use deploy tokens for secure automation.
Set up CI/CD for Fly.io with GitHub Actions: build Docker images, deploy on push to main, and use deploy tokens for secure automation.
# .github/workflows/fly-deploy.yml
name: Deploy to Fly.io
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '20' }
- run: npm ci && npm test
deploy-staging:
needs: test
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: fly deploy -a my-app-staging --config fly.staging.toml
env:
FLY_API_TOKEN: ${{ secrets.FLY_DEPLOY_TOKEN_STAGING }}
deploy-production:
needs: test
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: fly deploy -a my-app
env:
FLY_API_TOKEN: ${{ secrets.FLY_DEPLOY_TOKEN }}
- run: |
fly status -a my-app
curl -sf https://my-app.fly.dev/health
# Scoped to a single app — use this in CI
fly tokens create deploy -a my-app
# Add as GitHub secret: FLY_DEPLOY_TOKEN
For deployment strategies, see flyio-deploy-integration.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin flyio-packDeploy, configure, and manage applications on the Fly.io platform using flyctl CLI, fly.toml configuration, Fly Machines, Fly Volumes, private networking, secrets, health checks, autoscaling, and GitHub Actions CI/CD. Use when deploying any application to Fly.io, writing or modifying fly.toml configuration, managing Fly Machines or Volumes, configuring networking (public services, private 6PN, Flycast, custom domains, TLS), setting secrets, configuring health checks, setting up autostop/autostart or metrics-based autoscaling, deploying with GitHub Actions, managing Fly Postgres databases, or preparing an app for production on Fly.io.
Deploys and manages Fly.io apps using Docker containers, Fly Machines, fly.toml configs, databases, volumes, secrets. Supports fly launch/deploy, debugging, multi-region setups for Python/Node/Rails/Django apps.
Implements Fly.io security best practices: encrypted secrets, scoped deploy tokens, automatic TLS certs, private networking. Includes CLI examples and checklists for secure deployments.