Skip to content

Commit 063e903

Browse files
committed
cdn: tenant is not required for cdn-upload at NAV
1 parent 7fd6ead commit 063e903

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/how-to-guides/cdn.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ In your Github Workflow, add the following step to upload your assets to the CDN
2828
uses: nais/deploy/actions/cdn-upload/v2@master
2929
with:
3030
team: <team slug> # Required, e.g. "team-name"
31-
tenant: <<tenant()>> # Optional, defaults to "nav"
31+
{%- if tenant() != "nav" %}
32+
tenant: <<tenant()>> # Required, e.g. "nav"
33+
{%- endif %}
3234
source: <The path to your build folder or assets>
3335
destination: <A destination you pick, like /my-app/dist>
3436
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }} # Provided as Organization Secret

0 commit comments

Comments
 (0)