Implementing Deployment Preview GHA #198
Replies: 4 comments 5 replies
-
Seems like this approach will only allow you to preview a single PR at a time, right? And is the only reason this approach is being used is that it builds and tests the site with github-pages so it's a "perfect" preview for what will happen in production? |
Beta Was this translation helpful? Give feedback.
-
Thanks, @Sukriti-sood . What is a good way to test this? |
Beta Was this translation helpful? Give feedback.
-
@johnwalicki do you have any suggestions for deployment Preview bot? @Sukriti-sood have some good suggestions, so john can you please tell us whether we are following the right approach or not? |
Beta Was this translation helpful? Give feedback.
-
BTW, this approach may also help developers editing repo-based docs (like anax repo, /docs folder) to preview their documentation and resolve variables, check hyperlinks, and confirm look-and-feel. |
Beta Was this translation helpful? Give feedback.
-
The purpose of this discussion is to capture all ways in which we can implement Deployment Preview GHA.
One of way I found by taking inspiration from here is we can have Open-Horizon-Bot Account that will create repostory of pr opened and deploy it on gh-pages and we will have preview link of that PR in comment, and Once the PR is merged, we can delete the repo from Open-Horizon-Bot Account.
Beta Was this translation helpful? Give feedback.
All reactions