Skip to content

Commit 30fd1c7

Browse files
docs(readme): update instructions to remove branch protection for GitHub Pages deployment with collapsible details
1 parent 4013f98 commit 30fd1c7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ projects.
1212
1. Configure the repository:
1313
1. Enable GitHub Pages in the repository settings. Set it to deploy from **GitHub Actions**.
1414
1. This will create an environment called `github-pages` that GitHub deploys your site to.
15-
16-
> [!IMPORTANT]
17-
> Within the **github-pages** environment, remove the branch protection for `main`
18-
> ![Remove the branch protection on main](./media/pagesEnvironment.png)
19-
15+
<details><summary>Within the **github-pages** environment, remove the branch protection for <code>main</code>.</summary>
16+
<img src="./media/pagesEnvironment.png" alt="Remove the branch protection on main">
17+
</details>
2018
1. [Create an API key on the PowerShell Gallery](https://www.powershellgallery.com/account/apikeys). Give it permission to manage the module you
2119
are working on.
2220
1. Create a new secret in the repository called `APIKEY` and set it to the API key for the PowerShell Gallery.

0 commit comments

Comments
 (0)