Deploy

From bdfinst/agentic-dev-team · View interactive version

Deploy is an AI agent skill from the GitHub repository bdfinst/agentic-dev-team. Deploy the application to staging or production on Fly.io.

How to use this skill

Skill file

Deploy

Parse Arguments

Arguments: $ARGUMENTS

Refuse any other argument.

Prerequisites

The fly CLI is installed and logged in (fly auth whoami succeeds).

Steps

Stop and report the failing command if any step exits non-zero.

  1. Run the test skill.
  2. Run fly deploy --config fly.staging.toml. Fly builds the image from Dockerfile (which runs npm run build), starts the new machines beside the old ones (strategy = "bluegreen" in each fly config), and switches traffic only after every new machine passes its /health check, so a failed check leaves the previous release serving.
  3. For production only: promote the image staging just verified. Read it with fly image show --config fly.staging.toml, then run fly deploy --config fly.production.toml --image <that image>.
  4. Report the environment, the released version from fly releases --config fly.<environment>.toml, and the deploy result.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.