surge-cli - Publish and manage static sites using Surge CLI
Publish static site directories, manage deployment revisions, previews, rollbacks, and custom domains with safe Surge CLI workflows.
Tags
Updated: 2026-09-16Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Publish static directories
- Deploy revision previews
- Cut over specific revisions
- Roll back site revisions
- Remove whole projects
- Inspect domain debug status
Inputs
- Static site output directory
- Target domain name
- Deploy message
- Revision identifier
- Surge token or login credentials
Outputs
- Published site URL
- Revision status and logs
- Project control files
- Teardown status
Requirements
- Surge CLI npm package
- Node.js and npm environment
- Surge account or SURGE_TOKEN
