jhudsl / OTTR_Template

OTTR for making courses! This is a template repo that helps people write 1 course but publish it in three places
https://www.ottrproject.org/
Creative Commons Attribution 4.0 International
15 stars 12 forks source link

Make GHA yml's compatible with quarto #746

Closed cansavvy closed 1 month ago

cansavvy commented 4 months ago

Summary

For maintenance purposes we want to keep one sole truth for GHA as much as possible. SO for the new Quarto OTTR course format we want to make sure that our GHA's are compatible with that.

In this PR I am working on making the GHA's also work with quarto by adding a config option for rendering. render-website: 'quarto' or 'rmd'

This means both pull-request.yml and render-all.yml need to have quarto rendering capabilities.

I am building this here but the tru test for these GHA updates will be done over here: https://github.com/fhdsl/ottr/pull/20

Related https://github.com/fhdsl/ottr/issues/2

github-actions[bot] commented 4 months ago

No broken url errors! :tada: Comment updated at 2024-06-28-20:13:47 with changes from 6ef418f04fa9d10f4b52ea97f23ebc27c9f16855

github-actions[bot] commented 4 months ago

No spelling errors! :tada: Comment updated at 2024-06-28-20:13:47 with changes from 6ef418f04fa9d10f4b52ea97f23ebc27c9f16855

github-actions[bot] commented 4 months ago

Re-rendered previews from the latest commit:

* note not all html features will be properly displayed in the "quick preview" but it will give you a rough idea.

Updated at 2024-06-28 with changes from the latest commit 6ef418f04fa9d10f4b52ea97f23ebc27c9f16855

howardbaek commented 4 months ago

How do I use this repo's Actions in .github/workflows/render-all.yml inside https://github.com/fhdsl/ottr?

cansavvy commented 4 months ago

For now you can copy it over after it's ready.

But then long term we'll have to add the ottr repo to the sync.yml file so it is updated

cansavvy commented 3 months ago

Preview appears to be updating accordingly on https://github.com/fhdsl/ottr/pull/20