NIH-NCPI / ncpi-fhir-ig

🔥 NCPI FHIR Implementation Guide
https://nih-ncpi.github.io/ncpi-fhir-ig/
Creative Commons Zero v1.0 Universal
5 stars 2 forks source link

🚀 IG site previews on PR updates #48

Closed znatty22 closed 2 years ago

znatty22 commented 2 years ago

Motivation

Developers can currently build the IG locally and preview it in their browser. However, it would be nice to view the published site at a publicly accessible URL so that anyone reviewing the PR may review the IG and make comments on the PR.

Approach

Each time the PR is updated (new commit pushed), deploy the IG to a URL unique to the pull request. This PR adds a couple of steps to the github workflow which 1) deploy the site to netlify and 2) add a comment on the PR with the deploy preview url.

github-actions[bot] commented 2 years ago

:rocket: IG Site Preview Deployed

Latest commit: 728c6124f70cd394c938d2ebaffc6d2faac522ad

View deployment