If you want to render and publish your multilingual book or website with CI, you must render your project with render_book()
or render_website()
, respectively. Don’t use Quarto’s own render and publish steps. You can find more information about publishing with CI in the Quarto documentation.
When you render a project in a CI context, you need to set the URL of the publishing website in an environement variable. You can do that with the BABELQUARTO_CI_URL
environment variable.
To render your project with CI, you need to follow these general steps:
render_book()
or render_website()
functions_site
or _book
folder) where you deploy your project (a GitHub pages branch, Netlify, etc.)Here are two examples of how you could render a multilingual book with CI using GitHub Actions: