deploy-site

Automate Power Pages site deployment to PAC-managed environments with PAC CLI.

647|132|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/microsoft/power-platform-skills --skill deploy-site
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: deploy-site
Source: https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-pages/skills/deploy-site
Command: npx skills add https://github.com/microsoft/power-platform-skills --skill deploy-site

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides users through deploying an existing Power Pages code site to a Power Pages environment using the PAC CLI, streamlining tooling checks, authentication, environment selection, build, and upload.

Core Features & Use Cases

  • End-to-end deployment workflow for Power Pages code sites.
  • Verifies PAC CLI availability, authenticates, confirms or selects the target environment, builds the site, uploads code, and verifies deployment.
  • Use case: teams can reliably deploy updates to staging or production with auditable steps and minimal manual intervention.

Quick Start

Provide your environment URL and the project root path, and I will initiate the deployment workflow using PAC CLI.

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?▼

Deploying a Power Pages code site using PAC CLI requires a project root containing powerpages.config.json, an accessible environment URL, and the PAC CLI tool installed to automate authentication, build, and upload.

What is needed to automate Power Pages deployment to a staging environment?▼

Automating Power Pages deployment requires PAC CLI availability, authentication credentials, a target environment URL, and a local Power Pages project containing powerpages.config.json to execute the upload workflow.

Does the Power Pages deployment workflow verify the target environment before uploading code?▼

Yes, the Power Pages deployment workflow verifies PAC CLI availability, authenticates your user session, and confirms or selects the target environment before building and uploading your code site.

Can I use PAC CLI to deploy Power Pages updates to production with minimal manual intervention?▼

Yes, you can use PAC CLI to deploy Power Pages updates to production with minimal manual intervention by automating end-to-end steps including tooling checks, environment selection, building, and uploading code.

What are the limitations of automating Power Pages code site uploads with PAC CLI?▼

Limitations include a strict dependency on having PAC CLI installed, required environment access permissions, and a valid Power Pages project root containing powerpages.config.json to successfully execute the deployment workflow.