I have created a website for a friend which I have published on GitHub and deployed using Netlify.
However as my knowledge is improving I have created a branch off of the main repository and completely redesigned the site.
How can I now show this to my friend remotely?
As I understand if I commit this to main this will change the published website which I do not want to do yet as the changes haven't been agreed?
Is there a way to create a GitHub page from that branch so I can send him a link to view what I have created?
CodePudding user response:
Ideally, you create a second empty GitHub repository in which you push tour second branch.
You can then build the GitHub pages for that second repository (using GitHub Action workflow and a starter workflow), and show the alternative version, using the second GitHub Pages URL.
CodePudding user response:
I found out from a friend that I am able to create another site on Netlify that points to the branch of the main repository and then Netlify gives me a dummy domain link that I can then share with my client for him to view the changes.