linkml / linkml-project-cookiecutter

A cookiecutter for linkml projects. An equivalent of `linkml-ws new project-name`.
Creative Commons Zero v1.0 Universal
14 stars 16 forks source link

GitHub Action workflow to preview documentation changes in PRs #112

Closed sujaypatil96 closed 2 weeks ago

sujaypatil96 commented 3 weeks ago

This PR seeks to add a GitHub Action workflow that will run everytime there is a new PR and create a link to preview the docs within that PR. It will also run everytime there is a new commit that is piled on top of commits in the open PR.

One of the pros of having this workflow will be that we won't need to create forks of schema repos just for the purpose of being able to create its own documentation site.

To see an example, you can look at the workflow file in action in the NMDC schema repo: https://github.com/microbiomedata/nmdc-schema/pull/2057

Inspiration from https://github.com/linkml/linkml/issues/2029