Skip to content

Commit cc6fb30

Browse files
cdervgithub-actions[bot]
authored andcommitted
Fix CI profile to let profile group control phase on prerelease site (#1938)
Follow-up to #1932. Now that prerelease-subdomain is defined in _quarto-prerelease-docs.yml rather than the phase profiles, the profile group order correctly controls which phase is active on the prerelease site. The explicit prerelease profile activation is no longer needed and prevents RC branding from showing on prerelease.quarto.org during RC phase. (cherry picked from commit a34fdb6)
1 parent 83a56a6 commit cc6fb30

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
- name: Render
104104
uses: quarto-dev/quarto-actions/render@v2
105105
env:
106-
QUARTO_PROFILE: ${{ steps.prerelease-docs-check.outputs.is_prerelease_docs == 'true' && 'prerelease,prerelease-docs' || '' }}
106+
QUARTO_PROFILE: ${{ steps.prerelease-docs-check.outputs.is_prerelease_docs == 'true' && 'prerelease-docs' || '' }}
107107

108108
- name: Deploy Preview to Netlify as preview
109109
id: netlify-deploy

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Render
4848
uses: quarto-dev/quarto-actions/render@v2
4949
env:
50-
QUARTO_PROFILE: ${{ (inputs.prerelease || (contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name) && github.ref == 'refs/heads/prerelease')) && 'prerelease,prerelease-docs' || '' }}
50+
QUARTO_PROFILE: ${{ (inputs.prerelease || (contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name) && github.ref == 'refs/heads/prerelease')) && 'prerelease-docs' || '' }}
5151

5252
- name: Publish release website
5353
# Only do this step if

0 commit comments

Comments
 (0)