deploy

Solid

Builds and deploys a Power Apps code app to Power Platform. Use when deploying changes, redeploying an existing app, or pushing updates.

DevOps & Infrastructure 317 stars 63 forks Updated today MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
83
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
96
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

**📋 Shared Instructions: [shared-instructions.md](${CLAUDE_PLUGIN_ROOT}/shared/shared-instructions.md)** - Cross-cutting concerns. # Deploy Builds and deploys the app in the current directory to Power Platform. ## Workflow 1. Check Memory Bank → 2. Build → 3. Deploy → 4. Update Memory Bank --- ### Step 1: Check Memory Bank Check for `memory-bank.md` in the project root. If found, read it for the project name, environment, and current version. If not found, proceed — the project may have been created without the plugin. ### Step 2: Build ```powershell npm run build ``` If the build fails: - **TS6133 (unused import)**: Remove the unused import and retry. - **Other TypeScript errors**: Report the error with the file and line number and stop. Do not deploy a broken build. Verify `dist/` exists with `index.html` before continuing. ### Step 3: Deploy Ask the user: _"Ready to deploy to [environment name]? This will update the live app."_ Wait for explicit confirmation before proceeding. ```bash pwsh -NoProfile -Command "pac code push" ``` Capture the app URL from the output if present. If deploy fails, report the error and stop — do not retry silently. Common fixes are in the troubleshooting guide: - Auth error → `pwsh -NoProfile -Command "pac auth create"` - Environment mismatch → `pwsh -NoProfile -Command "pac env select --environment <id>"` **Mac fallback — if `pac code push` fails with an auth error on macOS:** `pac` has known authentication bugs on Mac that ...

Details

Author
microsoft
Repository
microsoft/power-platform-skills
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category