@@ -17,12 +17,12 @@ projects.
1717 > Within the ** github-pages** environment, remove the branch protection for ` main `
1818 > ![ Remove the branch protection on main] ( ./media/pagesEnvironment.png )
1919
20- 2 . [ Create an API key on the PowerShell Gallery] ( https://www.powershellgallery.com/account/apikeys ) . Give it permission to manage the module you
20+ 1 . [ Create an API key on the PowerShell Gallery] ( https://www.powershellgallery.com/account/apikeys ) . Give it permission to manage the module you
2121 are working on.
22- 3 . Create a new secret in the repository called ` APIKEY ` and set it to the API key for the PowerShell Gallery.
23- 4 . If you are planning on creating many modules, you could use a glob pattern for the API key permissions and store the secret on the organization.
24- 2 . Clone the repo locally, create a branch, make your changes, push the changes, create a PR and let the workflow run.
25- 3 . When merging to ` main ` , the workflow automatically builds, tests, and publishes your module to the PowerShell Gallery and maintains the
22+ 1 . Create a new secret in the repository called ` APIKEY ` and set it to the API key for the PowerShell Gallery.
23+ 1 . If you are planning on creating many modules, you could use a glob pattern for the API key permissions and store the secret on the organization.
24+ 1 . Clone the repo locally, create a branch, make your changes, push the changes, create a PR and let the workflow run.
25+ 1 . When merging to ` main ` , the workflow automatically builds, tests, and publishes your module to the PowerShell Gallery and maintains the
2626 documentation on GitHub Pages. By default the process releases a patch version, which you can change by applying labels like ` minor ` or ` major ` on
2727 the PR to bump the version accordingly.
2828
0 commit comments