ptp-deploy-master

Triggers the deploy workflow against a clean master branch without commits or merges.

Updated Jun 8, 2026
One-click install
npx skills add https://github.com/AlmogMaayan/ptp --skill ptp-deploy-master-almogmaayan
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ptp-deploy-master
Source: https://github.com/AlmogMaayan/ptp/tree/main/skills/ptp-deploy-master
Command: npx skills add https://github.com/AlmogMaayan/ptp --skill ptp-deploy-master-almogmaayan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When production already sits on master in the desired state, re-running the full ship pipeline (branch, commit, PR, merge) just to re-trigger a deploy is wasteful and risky. This Skill re-dispatches the CI/CD deploy workflow against the current master with zero git history changes. ## Core Features & Use Cases - Read-only preconditions: Verifies gh CLI authentication, git repository presence, HEAD on master/main, and a clean working tree before any action, stopping safely otherwise. - Workflow resolution and dispatch: Reuses the ptp-deploy deploy step logic to auto-detect or use a configured GitHub Actions workflow, then dispatches it via workflow_dispatch and watches the run to completion. - Explicit terminal outcomes: Reports clear stop reasons for missing workflows, non-dispatchable workflows, or failed deploy runs, never silently no-ops and never runs fix loops. - Use Case: After a hotfix was merged directly to master outside the pipeline, re-trigger the production deploy workflow without cutting a branch or opening a PR. ## Quick Start Ask the assistant to deploy the current master as-is using the ptp-deploy-master skill while on a clean master branch.

Frequently Asked Questions about ptp-deploy-master

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I re-trigger a GitHub Actions deploy workflow without pushing code?▼

Use workflow_dispatch to manually dispatch the workflow with gh workflow run, then watch the run to completion. This Skill automates that against the current master after verifying preconditions.

How to deploy master as-is without creating a branch or PR?▼

Run this Skill while on a clean master branch. It skips commit, push, PR, merge, and branch deletion entirely, dispatching only the deploy workflow and reporting the run conclusion.

Does this work if my deploy workflow has no workflow_dispatch trigger?▼

No. A workflow that is not workflow_dispatch-able causes an explicit stop, because there is no push or merge for a run to piggyback on. Configure workflow_dispatch on the deploy workflow first.

What happens if the deploy run fails?▼

The failing run id and logs are reported and the command stops. No deploy-fix loop runs, since that loop requires the PR and merge flow this Skill deliberately excludes.

Why does the command refuse to run on a feature branch or dirty tree?▼

It only deploys master as-is, so HEAD must be master/main and the working tree must be clean. Both checks run before any action, and uncommitted changes should be shipped via the full deploy pipeline instead.