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.
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.