deploy-site

Deploy Power Pages code sites to environments using PAC CLI.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/butchersoft-msn/power-platform-mcpserver-for-openai --skill deploy-site-butchersoft-msn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy-site
Source: https://github.com/butchersoft-msn/power-platform-mcpserver-for-openai/tree/main/Assets/Plugins/power-pages/skills/deploy-site
Command: npx skills add https://github.com/butchersoft-msn/power-platform-mcpserver-for-openai --skill deploy-site-butchersoft-msn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploying and managing a Power Pages code site to a Power Pages environment can be complex, requiring tooling checks, authentication, environment selection, building, and careful deployment workflows.

Core Features & Use Cases

  • End-to-end deployment workflow: locate the code project, build, authenticate, choose environment, and upload using PAC CLI.
  • Blocker handling and remediation: detect JS-block or manifest-related issues, with guided remediation steps and safe retry paths.
  • Post-deployment steps: optional activation, cache restart, and permissions checks to ensure a live, correct site.

Quick Start

Deploy an existing Power Pages code site to a Power Pages environment using PAC CLI by following the guided phases.

Frequently Asked Questions about deploy-site

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

FAQPage Schema
How do I deploy a Power Pages code site using PAC CLI?

Deploy a Power Pages code site by locating the project root via powerpages.config.json, running npm build, authenticating, selecting an environment, and uploading using pac pages upload-code-site.

What steps are needed to automate Power Pages deployment end-to-end?

Automated Power Pages deployment requires project discovery, authentication, environment selection, npm build, code upload, activation, and post-deployment checks to ensure a live, correct site.

Why does my Power Pages code site upload fail with blocked attachments?

Blocked attachments and manifest issues are known blockers during Power Pages code site upload, requiring guided remediation steps and safe retry paths to resolve successfully.

Does deploying a Power Pages code site require a specific project structure?

Deploying a Power Pages code site requires locating the project root via powerpages.config.json, running npm build, and using PAC CLI to upload the code-site to the environment.

What happens after uploading a Power Pages code site with PAC CLI?

After uploading a Power Pages code site, post-deployment steps include optional activation, cache restart, and permissions checks to ensure the site is live and correct.

How do I handle manifest issues when uploading a Power Pages code site?

Manifest issues during Power Pages code site upload are handled through guided remediation steps and safe retry paths to ensure successful deployment via PAC CLI.