Skip to content

Commit e9cb037

Browse files
Copilotspetersenms
andcommitted
Address PR feedback: reposition warning, standardize token naming, and improve specificity
Co-authored-by: spetersenms <[email protected]>
1 parent 7c6f864 commit e9cb037

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Scenarios/DeliveryTargets.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ GitHub Packages provides a free NuGet feed for each GitHub organization. This is
5959

6060
Create an organizational secret named `GitHubPackagesContext` with the following compressed JSON format:
6161

62+
> [!TIP]
63+
> Use the BcContainerHelper function `New-ALGoNuGetContext` to create a correctly formatted JSON structure.
64+
6265
> [!WARNING]
6366
> The secret must be in compressed JSON format (single line). Multi-line JSON will break AL-Go functionality as curly brackets will be masked in logs.
6467
@@ -71,9 +74,6 @@ Replace:
7174
- `<your_token>` with your personal access token
7275
- `<your_org>` with your GitHub organization name
7376

74-
> [!TIP]
75-
> Use the BcContainerHelper function `New-ALGoNuGetContext` to create a correctly formatted JSON structure.
76-
7777
### Step 3: Configure Repository Settings (Optional)
7878

7979
You can control delivery behavior by adding settings to your AL-Go settings file. For detailed information about DeliveryTarget settings, see [DeliverTo<deliveryTarget>](https://aka.ms/algosettings#deliverto).
@@ -100,10 +100,10 @@ For custom NuGet feeds (e.g., Azure DevOps Artifacts, private NuGet servers), us
100100
Create a secret named `NuGetContext` with the following format:
101101

102102
> [!NOTE]
103-
> Replace `<your_token>`, `<your_org>`, `<your_project>`, and `<your_feed>` with your actual values.
103+
> Replace `<YOUR_NUGET_TOKEN>`, `<your_org>`, `<your_project>`, and `<your_feed>` with your actual values.
104104
105105
```json
106-
{"token":"<your_token>","serverUrl":"https://pkgs.dev.azure.com/<your_org>/<your_project>/_packaging/<your_feed>/nuget/v3/index.json"}
106+
{"token":"<YOUR_NUGET_TOKEN>","serverUrl":"https://pkgs.dev.azure.com/<your_org>/<your_project>/_packaging/<your_feed>/nuget/v3/index.json"}
107107
```
108108

109109
Common NuGet feed URLs:
@@ -158,7 +158,7 @@ Unlike GitHub Packages, NuGet feeds configured with `NuGetContext` are not autom
158158
**Repository Secret**: `NuGetContext`
159159

160160
```json
161-
{"token":"<your_token>","serverUrl":"https://pkgs.dev.azure.com/contoso/BusinessCentral/_packaging/BC-Apps/nuget/v3/index.json"}
161+
{"token":"<YOUR_AZURE_DEVOPS_TOKEN>","serverUrl":"https://pkgs.dev.azure.com/contoso/BusinessCentral/_packaging/BC-Apps/nuget/v3/index.json"}
162162
```
163163

164164
**AL-Go-Settings.json**:

0 commit comments

Comments
 (0)