How can I publish a Quarto website and blog on Netlify with GH Actions, while using individual renv
projects per blog post?
#11001
-
DescriptionThe title is pretty convoluted, so let me explain: I have created a Quarto website (here is a reprex: https://github.com/pedrotercero3/quarto-website-test) which also contains a blog. I am using I am using the GitHub Actions workflow available in the Quarto guide to publish the website on Netlify. It works fine when My question is: is there a way to modify the GH Actions workflow so that it uses the global |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
First, Quarto cannot use multiple environments. For short, you have to write your own workflow to activate/render. |
Beta Was this translation helpful? Give feedback.
First, Quarto cannot use multiple environments.
Now, using incremental rendering and freeze, you could use renv profiles for example to activate one and rendering one page, etc. for each.
Then you can write your own GitHub action.
Note that the Quarto GitHub Actions does not do anything fancy, you can take a look at the source code.
For short, you have to write your own workflow to activate/render.