Skip to content

Prepare testing GitHub Pages for your PR

Anna Bauza edited this page Sep 5, 2020 · 2 revisions

To prepare testing environment from your fork for your PR you need to:

  1. Make sure you have committed and pushed all necessary changes to your working repository.
  2. In your local root folder run command yarn build.
  3. Copy build folder outside of your GitHub repository folder.
  4. Checkout branch gh-pages.
  5. Remove all content from root folder, but not GitHub folders and files.
  6. Copy content of your build folder and paste it into your repository root folder.
  7. Commit and push your changes.
  8. Go to your GitHub for web and navigate to settings.
  9. Scroll all the way down to GitHub Pages section.
  10. Select source branch gh-pages and leave folder as root.
  11. Save changes and check link where yous side has been published - you can find it in your GitHub web under settings of GitHub Pages.
  12. Copy link and place it in your PR.
  13. Add label Need Testing.
  14. Ping testing team in comment.