Fix Quarto build-deploy failure by restoring R toolchain in publish workflow - #2
Merged
Merged
Conversation
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job build-deploy
Fix Quarto Jul 22, 2026
build-deploy failure by restoring R toolchain in publish workflow
CrampsP
approved these changes
Jul 22, 2026
There was a problem hiding this comment.
Pull request overview
This PR updates the Quarto publish GitHub Actions workflow to support mixed Python/R Quarto rendering (needed for Story_Telling/project1.qmd) and fixes the build-deploy workflow failure by ensuring the R toolchain is available during render/publish, while also cleaning up the publish step configuration.
Changes:
- Adds/ensures an R setup step (
r-lib/actions/setup-r@v2) in the publish workflow. - Adds/ensures an R dependency installation step (
r-lib/actions/setup-r-dependencies@v2) for the packages used by R code chunks. - Removes a duplicate
env:mapping under the Quarto publish step so there is a singleGITHUB_TOKENbinding.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
build-deployfailed during Quarto publish when renderingStory_Telling/project1.qmdbecauseRscriptwas unavailable in the runner. This PR aligns the workflow with project requirements for mixed Python/R rendering and cleans up publish-step configuration.Workflow runtime requirements
.github/workflows/publish.yml(r-lib/actions/setup-r@v2).r-lib/actions/setup-r-dependencies@v2) for packages used by R code chunks (e.g.,tidyverse,httr2,scales,knitr,DT).Publish step cleanup
envmapping under the Quarto publish step to keep a single explicitGITHUB_TOKENbinding.