Skip to content

Commit a465ef7

Browse files
committed
docs: private nuget source
1 parent 3bd12aa commit a465ef7

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed

docs/pipelines/commercial-plus.md

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
uid: Pipelines.CommercialPlus
3+
---
4+
5+
# Setting up the Commercial Plus private NuGet Feed
6+
7+
## [GitHub Actions](#tab/github)
8+
9+
First be sure to add the Prism NuGet feed and your credentials as secrets in GitHub.
10+
11+
PRISM_NUGET_FEED: `https://nuget.prismlibrary.com/v3/index.json
12+
PRISM_NUGET_USER: The email of the licensed user
13+
PRISM_NUGET_API_KEY: The License Key you have generated on https://prismlibrary.com
14+
15+
```yml
16+
- name: Add NuGet Feed
17+
shell: pwsh
18+
run: |
19+
dotnet nuget add source ${{ secrets.PRISM_NUGET_FEED }} -u ${{ secrets.PRISM_NUGET_USER }} -p ${{ secrets.PRISM_API_KEY }} -n InHouse --store-password-in-clear-text
20+
```
21+
22+
## [Azure Pipelines](#tab/azure-pipelines)
23+
24+
Go to your project Settings -> Service connections. Then add a `New service connection` and select `NuGet` then click Next. Be sure to select `Basic Authentication`
25+
26+
Feed URL: `https://nuget.prismlibrary.com`
27+
Username: The email of the licensed user
28+
Password: The License Key you have generated on https://prismlibrary.com
29+
Service connection name: This can be anything. For the sample below you will see we have set this to `Prism`
30+
31+
```yml
32+
- task: NuGetAuthenticate@1
33+
inputs:
34+
nuGetServiceConnections: 'Prism'
35+
```
36+
37+
---

docs/pipelines/toc.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- name: Commercial Plus
2+
href: commercial-plus.md

docs/toc.yml

+2
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@
2222
href: magician/toc.yml
2323
- name: Plugins
2424
href: plugins/toc.yml
25+
- name: Pipelines
26+
href: pipelines/toc.yml

0 commit comments

Comments
 (0)