Skip to content

Commit a1fd72f

Browse files
committed
Simplify curly syntax
1 parent 664904c commit a1fd72f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

deployment/ci-cd-license-key.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,20 @@ The recommended way to provide your license key to the `Telerik.Licensing` NuGet
4848
1. Add a `TELERIK_LICENSE` environment variable to the steps, which build and publish the Blazor app:
4949
````YAML.skip-repl
5050
env:
51-
TELERIK_LICENSE: ${{ curly_open }} secrets.TELERIK_LICENSE {{ curly_close }}
51+
TELERIK_LICENSE: ${{ "{{ secrets.TELERIK_LICENSE }}" }}
5252
````
5353
The resulting workflow steps may look similar to:
5454
````YAML.skip-repl
5555
- name: Build Step
5656
run: dotnet build -c Release
5757
env:
58-
TELERIK_NUGET_KEY: ${{ curly_open }} secrets.TELERIK_NUGET_KEY {{ curly_close }}
59-
TELERIK_LICENSE: ${{ curly_open }} secrets.TELERIK_LICENSE {{ curly_close }}
58+
TELERIK_NUGET_KEY: ${{ "{{ secrets.TELERIK_NUGET_KEY }}" }}
59+
TELERIK_LICENSE: ${{ "{{ secrets.TELERIK_LICENSE }}" }}
6060
6161
- name: Publish Step
6262
run: dotnet publish -c Release
6363
env:
64-
TELERIK_LICENSE: ${{ curly_open }} secrets.TELERIK_LICENSE {{ curly_close }}
64+
TELERIK_LICENSE: ${{ "{{ secrets.TELERIK_LICENSE }}" }}
6565
````
6666
(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.)
6767

docs-builder.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ liquid-output-delimiter-right: "}}"
3030
liquid:
3131
uiForBlazorLatestVersion: "8.0.0"
3232
themesVersion: "10.2.0"
33-
curly_open: "{{"
34-
curly_close: "}}"
3533

3634
meta:
3735
"*templates":

0 commit comments

Comments
 (0)