Configure GitHub Pages - FearlessSolutions/publish-playwright GitHub Wiki
Open GitHub and click on Settings > Pages

Click on the “Deploy from a branch" button.

Select “GitHub Actions” from the dropdown.

Open GitHub and click on Settings > Environments

Click on the “github-pages” environment

Click the “Add deployment branch or tag rule” link

Enter “gh-pages” in the Name pattern field and click the “Add rule” button

Click the “Save protection rules” button
