This document describes Windsurf Cascade's web application deployment pipeline, which enables automated deployment of JavaScript web applications to hosting providers like Netlify. The pipeline consists of three primary tools that handle configuration validation, deployment execution, and status monitoring.
For information about Windsurf's browser preview capabilities for local development servers, see Browser Preview and Page Interaction. For memory management across deployments, see Memory and Context Management.
Windsurf Cascade provides a three-stage deployment workflow that validates project configuration, executes the deployment, and monitors completion status. The system handles source-only deployments without requiring pre-built artifacts, and supports both new site creation and updates to existing deployments.
Sources: Windsurf/Tools Wave 11.txt195-201 Windsurf/Tools Wave 11.txt88-100 Windsurf/Tools Wave 11.txt27-33
The deployment pipeline consists of three distinct tools that must be invoked in sequence:
| Tool Name | Purpose | Input Requirements | Output |
|---|---|---|---|
read_deployment_config | Validate project readiness | ProjectPath (absolute path) | Configuration status, missing files |
deploy_web_app | Execute deployment | Framework, ProjectPath, ProjectId, Subdomain | WindsurfDeploymentId |
check_deploy_status | Monitor deployment | WindsurfDeploymentId | Build status, claim status |
Sources: Windsurf/Tools Wave 11.txt195-201 Windsurf/Tools Wave 11.txt88-100 Windsurf/Tools Wave 11.txt27-33
The read_deployment_config tool performs pre-deployment validation by analyzing the project structure and determining if all required files exist for successful deployment.
This tool must be executed first before any deployment attempt. It analyzes the project structure and returns information about:
If the tool identifies missing files, Cascade must create them before proceeding with deployment.
Sources: Windsurf/Tools Wave 11.txt195-201
The deploy_web_app tool executes the actual deployment to hosting providers like Netlify. It handles both new site creation and updates to existing deployments.
Framework (required)
ProjectPath (required)
read_deployment_configProjectId (conditional)
Subdomain (conditional)
Sources: Windsurf/Tools Wave 11.txt88-100
Sources: Windsurf/Tools Wave 11.txt92-97
The deployment pipeline supports 18 JavaScript frameworks, each with framework-specific build and deployment configurations:
| Framework | Type | Primary Use Case |
|---|---|---|
nextjs | React Meta-framework | Full-stack React applications |
nuxtjs | Vue Meta-framework | Full-stack Vue applications |
sveltekit | Svelte Meta-framework | Full-stack Svelte applications |
remix | React Meta-framework | Full-stack React with enhanced data loading |
astro | Multi-framework | Static sites with partial hydration |
gatsby | React Static Generator | Static React sites with GraphQL |
hugo | Go Static Generator | Ultra-fast static sites |
jekyll | Ruby Static Generator | Blog-focused static sites |
eleventy | JavaScript Static Generator | Flexible static site generation |
create-react-app | React SPA | Client-side React applications |
angular | TypeScript Framework | Enterprise Angular applications |
svelte | Component Framework | Lightweight reactive applications |
hydrogen | Shopify Framework | E-commerce storefronts |
gridsome | Vue Static Generator | Static Vue sites with GraphQL |
hexo | Node.js Static Generator | Blog-focused static generation |
middleman | Ruby Static Generator | Ruby-based static sites |
mkdocs | Python Documentation | Documentation sites |
grunt | Task Runner | Legacy JavaScript build systems |
Sources: Windsurf/Tools Wave 11.txt91
The check_deploy_status tool monitors deployment progress and determines build completion and site claim status.
WindsurfDeploymentId (required)
deploy_web_appdeploy_web_app has executedThe tool returns information about:
Sources: Windsurf/Tools Wave 11.txt27-33
Sources: Windsurf/Tools Wave 11.txt195-201 Windsurf/Tools Wave 11.txt88-100 Windsurf/Tools Wave 11.txt27-33
The deployment pipeline maintains project identity through the ProjectId field, which serves as a persistent identifier for deployed sites:
New Deployment Pattern:
Re-deployment Pattern:
Site Rename Pattern:
Sources: Windsurf/Tools Wave 11.txt92-97
The read_deployment_config tool searches for deployment configuration in the project directory. When re-deploying, Cascade must:
ProjectId value from the configuration filedeploy_web_app to maintain site continuitySubdomain empty to preserve existing URLSources: Windsurf/Tools Wave 11.txt195-201
The deployment pipeline accepts unbundled source files and handles the build process remotely:
Framework parameterAll deployment tools require absolute paths:
Sources: Windsurf/Tools Wave 11.txt94 Windsurf/Tools Wave 11.txt198
When read_deployment_config identifies missing files:
read_deployment_config to confirm readinessWhen check_deploy_status reports build failures:
deploy_web_app invocation is required to retryProjectId should be used to update the existing siteThe check_deploy_status tool should be polled periodically:
Sources: Windsurf/Tools Wave 11.txt27-33
The deployment tools must be invoked in strict sequence:
read_deployment_config - Validates project readinessdeploy_web_app - Executes deploymentcheck_deploy_status - Monitors progressThe deploy_web_app tool typically requires user approval before execution due to its side effects:
SafeToAutoRunThe check_deploy_status tool should not run unless explicitly requested by the user, as noted in the tool description.
Sources: Windsurf/Tools Wave 11.txt27-28
During local development before deployment:
browser_preview tool to test the application locally (see Browser Preview and Page Interaction)capture_browser_console_logs and capture_browser_screenshotDeployment may require preparatory commands:
run_command to install dependencies before deployment (see Command Execution and Background Processes)run_commandDeployment information can be stored in Cascade's memory system:
create_memory to save ProjectId values (see Memory and Context Management)deployment and project-specific tagsSources: Windsurf/Tools Wave 11.txt1-9 Windsurf/Tools Wave 11.txt262-283 Windsurf/Tools Wave 11.txt57-86
Refresh this wiki