You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,6 +119,17 @@ It will produce release notes, changelog and a nupkg in GitHub packages.
119
119
120
120
__Note__: _this will fail if the version is not bumped, or if the current version already exists as a release or package._
121
121
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
+
122
133
### After merge
123
134
124
135
After merging to master, markdown files for each public function in the module will be created.
0 commit comments