Skip to content

Add download-code-site and upload-code-site action wrappers#490

Merged
MrRishabhJain merged 1 commit into
mainfrom
users/rishjain/add-code-site-actions
Mar 10, 2026
Merged

Add download-code-site and upload-code-site action wrappers#490
MrRishabhJain merged 1 commit into
mainfrom
users/rishjain/add-code-site-actions

Conversation

@MrRishabhJain

Copy link
Copy Markdown
Contributor

Summary

  • Add downloadCodeSite wrapper function for pac pages download-code-site command
  • Add uploadCodeSite wrapper function for pac pages upload-code-site command
  • Add barrel exports in src/actions/index.ts

These new wrapper functions follow the same pattern as existing downloadPaportal/uploadPaportal and enable GitHub Actions and Azure DevOps tasks to call the new PAC CLI code-site commands.

download-code-site parameters

CLI Argument Wrapper Field
--path path
--webSiteId websiteId
--overwrite overwrite

upload-code-site parameters

CLI Argument Wrapper Field
--rootPath rootPath
--compiledPath compiledPath
--siteName siteName

Add wrapper functions for the new `pac pages download-code-site` and
`pac pages upload-code-site` CLI commands, following the existing
downloadPaportal/uploadPaportal pattern. Export both from the actions
barrel file.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@MrRishabhJain MrRishabhJain requested review from a team as code owners February 26, 2026 09:10
@MrRishabhJain MrRishabhJain enabled auto-merge (squash) March 10, 2026 10:31
@MrRishabhJain MrRishabhJain merged commit 861b50a into main Mar 10, 2026
6 checks passed
@MrRishabhJain MrRishabhJain deleted the users/rishjain/add-code-site-actions branch March 10, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants