High signalMITOriginal

Deploy to Netlify

Builds and deploys Vendors.ie via git push to main, which triggers Netlify's auto-deploy — no Netlify CLI used.

Entry verified April 21, 2026

The short answer

Runs npm run build in ~/src/vendors, commits any uncommitted work via the /commit pattern, pushes to main, and confirms the run landed on GitHub with gh run list. Reports build result, commit SHA and push confirmation — it never finishes silently.

When to use it

Use for every Vendors.ie production deploy. The skill replaces ad-hoc git push + dashboard checking with a single command that stops immediately on a build failure and verifies the push actually reached GitHub before declaring success.

Setup

  1. 1

    Save the file as ~/.claude/commands/deploy.md.

  2. 2

    Runs npm run build in ~/src/vendors and stops if the build fails.

  3. 3

    Commits uncommitted changes using the /commit pattern, then runs git push to trigger Netlify auto-deploy.

  4. 4

    Confirms with gh run list --repo The-Flash-Report/vendors --limit 3.

  5. 5

    Netlify CLI is NOT used — deploys are triggered by git push to main, so there is no netlify deploy command.

Example

You: /deploy
Claude: [runs npm run build → deploys to Netlify → polls for 'ready' status → reports URL]

Source & attribution

Author
Bryan Collins
Licence
MIT (author's own work)
Type
Original

Original pattern published under MIT — attribution preserved by convention, not licence requirement.

Caveats

Don't auto-deploy on every push — use Netlify's GitHub integration for that. Use this skill for on-demand deploys.

New skills, explained plainly.

One short email when a new Claude Code skill is worth installing — and when to skip the hype. No spam.

56 skills across 10 categories, all licence-verified.