Skip to main content

/devops-deploy-activate

Activate deployment pipeline — secrets, platforms, supply chain hardening, verification.


Overview

Takes infra-scaffold output and activates the deployment pipeline: configures GitHub secrets, pins GitHub Actions to SHA digests for supply chain security, provisions backend and frontend platforms (Railway, Vercel, Fly.io), sets up remote cache for monorepos, and triggers a verification pipeline run.


Usage

/devops-deploy-activate
/devops-deploy-activate [infra-scaffold-output]
ArgumentRequiredDescription
infra-scaffold-outputNoPath to infra-scaffold output folder

When run without arguments, searches for the latest infra-scaffold output.


What It Produces

Files at $JAAN_OUTPUTS_DIR/devops/deploy-activate/{id}-{slug}/:

FileContent
{id}-{slug}.mdActivation report with secrets, platforms, and pipeline results

Also modifies .github/workflows/ files (SHA pinning).


What It Asks

QuestionWhenWhy
Activation scopeAlwaysWhich components to activate
Secret valuesPer secretUser provides values securely
Platform setupPer platformConfirm provisioning steps
Cache tokenMonorepo detectedTurborepo remote cache setup

Prerequisites

ToolRequiredCheck Command
GitHub CLI (gh)Yesgh auth status
Railway CLIIf Railway targetrailway version
Vercel CLIIf Vercel targetvercel --version
Fly CLIIf Fly.io targetfly version

Workflow Chain

/devops-infra-scaffold + /dev-output-integrate --> /devops-deploy-activate

Example

Input:

/devops-deploy-activate jaan-to/outputs/devops/infra-scaffold/01-my-app-infra/

Output:

Secrets configured:  5/5
Actions pinned: 8 actions → SHA digests
Backend: Railway project linked
Frontend: Vercel connected with preview deployments
Pipeline: CI passed (2m 34s)

Activation report: jaan-to/outputs/devops/deploy-activate/01-my-app-activation/01-my-app-activation.md

Tips

  • Run /devops-infra-scaffold first to generate the infrastructure files
  • Run /dev-output-integrate to copy CI/CD files into .github/workflows/ before activating
  • Ensure CLI tools are installed and authenticated before starting
  • Secret values are entered interactively and never logged or stored in reports


Technical Details

  • Logical Name: devops-deploy-activate
  • Command: /devops-deploy-activate
  • Role: devops
  • Output: $JAAN_OUTPUTS_DIR/devops/deploy-activate/{id}-{slug}/