Skip to content

Commit 89fcb3b

Browse files
committed
updated readme for psgallery release
1 parent ed36c4c commit 89fcb3b

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,17 @@ It will produce release notes, changelog and a nupkg in GitHub packages.
119119

120120
__Note__: _this will fail if the version is not bumped, or if the current version already exists as a release or package._
121121

122+
### Publish to PSGallery
123+
124+
A manually triggered workflow is available to publish your module to the [PowerShell Gallery](https://www.powershellgallery.com/).
125+
This workflow downloads the `.nupkg` from the latest GitHub release and pushes it to PSGallery.
126+
127+
To use this workflow:
128+
129+
1. Ensure a GitHub release exists with a `.nupkg` asset (created automatically by the merge to master pipeline).
130+
2. Add a `PSGALLERY_API_KEY` secret to your repository or organisation. You can generate an API key from your [PSGallery account](https://www.powershellgallery.com/account).
131+
3. Navigate to the **Actions** tab, select the **Publish to PSGallery** workflow, and click **Run workflow**.
132+
122133
### After merge
123134

124135
After merging to master, markdown files for each public function in the module will be created.

0 commit comments

Comments
 (0)