Skip to content

Commit c538049

Browse files
🔧 [Docs]: Clarify instructions for removing branch protection in GitHub Pages setup
1 parent af6024c commit c538049

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎README.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@ Process-PSModule follows:
1818
1. Configure the repository:
1919
1. Enable GitHub Pages in the repository settings. Set it to deploy from `GitHub Actions`.
2020
1. This will create an environment called `github-pages` that GitHub deploys your site to.
21-
Within the environment, remove the branch protection for `main`.
21+
2222
<details>
23-
<summary>Remove the branch protection for `main`</summary>
23+
<summary>Within the environment, remove the branch protection for <code>main</code>.</summary>
2424

2525
![Remove the branch protection on main](./media/pagesEnvironment.png)
26-
26+
2727
</details>
28+
2829
1. [Create an API key on the PowerShell Gallery](https://www.powershellgallery.com/account/apikeys). Give it enough permission to manage the module you are working on.
2930
1. Create a new secret in the repository called `APIKEY` and set it to the API key for the PowerShell Gallery.
3031
1. Create a branch, make your changes, create a PR and let the workflow run.

0 commit comments

Comments
 (0)