Skip to content

Sending the appMode in the update requests for publishing to PCC#1243

Merged
rodriin merged 1 commit intopccfrom
pcc-app-mode
Oct 24, 2025
Merged

Sending the appMode in the update requests for publishing to PCC#1243
rodriin merged 1 commit intopccfrom
pcc-app-mode

Conversation

@rodriin
Copy link
Member

@rodriin rodriin commented Oct 24, 2025

Resolves #1233

Adding the appMode to the update request when deploying updated content to Posit connect Cloud. This fix is needed to support the appMode changing for the content in the update like in the deploySite() case. When deploying a site one may specify the render parm to be server, this means the site should be rendered on the server and in this case appMode will be set to quarto-static. However if the render param is not specified then the site must be pre-rendered locally and in this case the appMode will be set to static. Therefore, before this change the changing appMode was not being registered by Posit Connect Cloud because the content updates (the 2nd publish and later) would always use the original appMode sent on the initial content create request.

@rodriin rodriin merged commit 8ed8d13 into pcc Oct 24, 2025
1 check passed
@rodriin rodriin deleted the pcc-app-mode branch October 24, 2025 19:16
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.

2 participants