Skip to content

Commit d24437d

Browse files
committed
refactor
1 parent a087007 commit d24437d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

deployment/ci-cd-license-key.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ The recommended way to provide your license key to the `Telerik.Licensing` NuGet
4848
1. Add a `TELERIK_LICENSE` environment variable to the step, which builds the Blazor app:
4949
````YAML.skip-repl
5050
env:
51-
TELERIK_LICENSE: ${{ secrets_TELERIK_LICENSE }}
51+
TELERIK_LICENSE: ${{ curly_open }} secrets.TELERIK_LICENSE {{ curly_close }}
5252
````
5353
As a result, the whole step may look similar to:
5454
````YAML.skip-repl
5555
- name: Build with dotnet
5656
run: dotnet build -c Release
5757
env:
58-
TELERIK_LICENSE: ${{ secrets_TELERIK_LICENSE }}
59-
TELERIK_NUGET_KEY: ${{ secrets_TELERIK_NUGET_KEY }}
58+
TELERIK_LICENSE: ${{ curly_open }} secrets.TELERIK_LICENSE {{ curly_close }}
59+
TELERIK_NUGET_KEY: ${{ curly_open }} secrets.TELERIK_NUGET_KEY {{ curly_close }}
6060
````
6161
(Also see [Using NuGet Keys](slug:deployment-nuget#using-nuget-keys) in the article [Restoring NuGet Packages in Your CI Workflow](slug:deployment-nuget). It shows how to use the `TELERIK_NUGET_KEY` environment variable in your CI build environment.)
6262

docs-builder.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ liquid-output-delimiter-right: "}}"
3030
liquid:
3131
uiForBlazorLatestVersion: "8.0.0"
3232
themesVersion: "10.2.0"
33-
secrets_TELERIK_NUGET_KEY: "{{ secrets.TELERIK_NUGET_KEY }}"
34-
secrets_TELERIK_LICENSE: "{{ secrets.TELERIK_LICENSE }}"
33+
curly_open: "{{"
34+
curly_close: "}}"
3535

3636
meta:
3737
"*templates":

0 commit comments

Comments
 (0)