OceanGlidersCommunity / Oxygen_SOP

Oxygen Standard Operating Procedure (SOP)
https://oceangliderscommunity.github.io/Oxygen_SOP/README.html
Other
6 stars 21 forks source link

Add gh actions to preview the jupyter book on PRs #89

Closed jbusecke closed 3 years ago

jbusecke commented 3 years ago

This PR implements github actions following this Project Pythia Tutorial.

This will trigger a github action for each PR which posts a comment with a preview of the jupyter-book, so authors and reviewers can check out how changes affect the SOP before merging it.

For an example of how this looks see: https://github.com/jbusecke/test_soeren/pull/14

I think this should work once merged but we need to create a free netlify account for this organization first and put the authentication details in the repo secrets @soerenthomsen @tomhull do you have the permissions to link this repo with netlify (for details see the linked tutorial above).

jbusecke commented 3 years ago

This also triggers a build of the book for every PR (and not just upon merging), which will enable us to detect errors earlier.

soerenthomsen commented 3 years ago

I think I installed this netlify account. Can you check?