land-and-deploy

Solid

Merge PR, wait for CI, verify deploy, run canary. The complete landing pipeline.

AI & Automation 4,957 stars 661 forks Updated today CC-BY-SA-4.0

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Land and Deploy Complete landing pipeline: merge the PR, wait for CI, verify the deployment, run a health check. Picks up where `/ship` left off. `/ship` creates the PR. This command merges it and verifies production. **Non-interactive by default.** The user said "land it", so land it. Stop only for the critical readiness gate and hard blockers. ## Instructions ### Step 1: Pre-flight ```bash # Verify GitHub CLI is authenticated gh auth status # Detect PR from current branch (or use argument if provided) gh pr view --json number,state,title,url,mergeStateStatus,mergeable,baseRefName,headRefName ``` **Stop conditions:** - GitHub CLI not authenticated → "Run `gh auth login` first" - No PR exists → "No PR found for this branch. Run `/ship` first." - PR already merged → "PR is already merged." - PR is closed → "PR is closed. Reopen it first." --- ### Step 2: CI Status Check ```bash # Check current CI status gh pr checks --json name,state,status,conclusion # Check for merge conflicts gh pr view --json mergeable -q .mergeable ``` **Stop conditions:** - Required checks FAILING → show failing checks, stop - `mergeable` is `CONFLICTING` → "PR has merge conflicts. Resolve them and push before landing." - Required checks PENDING → proceed to Step 3 (wait for CI) - All checks passing → skip to Step 3.5 (readiness gate) --- ### Step 3: Wait for CI (if pending) ```bash # Watch CI checks with 15-minute timeout gh pr checks --watch --fail-fast ``` - CI passes → continue to ...

Details

Author
FlorianBruniaux
Repository
FlorianBruniaux/claude-code-ultimate-guide
Created
5 months ago
Last Updated
today
Language
Python
License
CC-BY-SA-4.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category