ProjectPythia / projectpythia.github.io

https://projectpythia.org
Apache License 2.0
32 stars 18 forks source link

Use Cookbook build and preview infrastructure #310

Closed brian-rose closed 1 year ago

brian-rose commented 1 year ago

Here's a first attempt to harmonize the GitHub actions workflows for this repo with what we're doing in our Cookbook and Foundations repos.

brian-rose commented 1 year ago

Yes, environment caching works here too, and substantially speeds up the build time.

brian-rose commented 1 year ago

Specific changes introduced in this PR:

This should ease our ongoing maintenance burden by aligning this repo's infrastructure with Cookbooks and Foundations.

brian-rose commented 1 year ago

The previewing won't work until / unless this gets merged due to the fact that those actions need to run from the host branch. But the build is producing correct-looking artifacts (e.g. here) and the previews should work exactly as they do in our Cookbook repos.

brian-rose commented 1 year ago

Still to do, but in a different PR:

Add link-checking to our tests.

brian-rose commented 1 year ago

Also if everything in this PR is working properly, then we can/should make similar changes to the workflows in the Cookbook Gallery repo, which is also built with sphinx.