netlify-deploy

Deploy web projects to Netlify using the Netlify CLI with authentication and site linking.

55|41|Updated Aug 9, 2026
One-click install
npx skills add https://github.com/Rylaispirit/rylai-codex-hermes-skills --skill netlify-deploy-rylaispirit
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: netlify-deploy
Source: https://github.com/Rylaispirit/rylai-codex-hermes-skills/tree/main/skills/netlify-deploy
Command: npx skills add https://github.com/Rylaispirit/rylai-codex-hermes-skills --skill netlify-deploy-rylaispirit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Manually deploying web projects to Netlify involves repetitive CLI steps—checking authentication, linking sites, configuring builds, and choosing between preview and production deploys—which is error-prone and time-consuming. ## Core Features & Use Cases - Authentication & Site Linking: Verifies Netlify CLI login status, guides OAuth or token-based login, and links projects to existing sites via Git remote or creates new ones. - Preview and Production Deploys: Runs npx netlify deploy for preview URLs and npx netlify deploy --prod for production, with framework-aware build detection. - Configuration Guidance: Provides netlify.toml patterns for build commands, publish directories, SPA redirects, and headers. - Use Case: You have a Vite React app in a Git repository and want it live. The skill checks your Netlify login, links the repo to a site, installs dependencies, creates a preview deploy for testing, then deploys to production after your approval. ## Quick Start Use the netlify-deploy skill to deploy the web project in the current directory to Netlify as a preview deploy.

Frequently Asked Questions about netlify-deploy

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

FAQPage Schema
How do I deploy a website to Netlify from the command line?▼

Run npx netlify deploy for a preview deploy or npx netlify deploy --prod for production. The CLI builds the project locally, uploads the assets, and returns a deploy URL. Verify authentication first with npx netlify status.

How do I authenticate the Netlify CLI without a browser?▼

Set the NETLIFY_AUTH_TOKEN environment variable with a personal access token generated at the Netlify user applications page. This replaces browser-based OAuth login when a browser is unavailable.

Can I link an existing Netlify site to my Git repository?▼

Yes, run npx netlify link --git-remote-url with your repository's remote URL. If no matching site exists, use npx netlify init to create a new site and configure build settings interactively.

Why does my Netlify deploy fail with publish directory not found?▼

This happens when the build command did not run successfully or the publish path in netlify.toml is wrong. Verify the build output directory matches the configured publish path, such as dist for Vite projects.

Should I deploy to production directly or use a preview first?▼

Use a preview deploy first with npx netlify deploy to test critical routes, environment variables, and functions on a unique URL. Deploy to production with --prod only after explicit approval and verification.