anukamithara/deploy-skills

configure-ci-cd

Generate or audit secure GitHub Actions workflows for validating deployment files, publishing immutable application images to GHCR, and running approval-gated single-server deploy or rollback operations.

Voir la source

Mode d’emploi

  1. Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
  2. Consultez le document original pour les outils, identifiants et environnements requis.
  3. Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/anukamithara/deploy-skills --skill configure-ci-cd

Avant de commencer

  • L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
  • Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Document Skill original

Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.

Configure CI/CD

Create the smallest GitHub Actions workflow that matches the repository and deployment target.

Workflow

  1. Analyze existing workflows, build commands, Compose files, migrations, health routes, and registry decisions before changing CI/CD.
  2. Read references/github-actions.md and preserve compatible repository conventions.
  3. Use assets/deploy.yml only as a reviewed starting point; replace every repository-specific placeholder.
  4. Keep pull-request validation read-only and publish only immutable release tags.
  5. Gate deployment and rollback with a protected production environment and explicit manual inputs.
  6. Keep migrations explicit, health-gate releases, and never automatically reverse a database migration.
  7. Run python3 scripts/validate_workflow.py --workflow <path> and any available action, secret, and image scanners.
  8. Report required repository variables, secrets, environment rules, validation evidence, and remaining manual setup.

Do not push images, connect to a server, deploy, migrate production data, or roll back without explicit approval at the point of action.

Tâches connexes

du même dépôt

Autres Skills

Tous les Skills