CDN Upload Action
This is the reference documentation for the CDN Upload GitHub action.
InputsΒΆ
The action accepts the following inputs:
team
-
Required. Team name.
source
-
Required. Source directory.
destination
-
Required. Destination directory.
project_id
-
Required. Set this to
${{ vars.NAIS_MANAGEMENT_PROJECT_ID }}
. identity_provider
-
Required. Set this to
${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
. tenant
-
Optional. Tenant name.
Default value:
"nav"
source_keep_parent_name
-
Optional. Keep the parent directory name in the destination path.
Default value:
true
cache_invalidation
-
Optional. Invalidate cached content after upload.
Default value:
false
This is an asynchronous operation and may take up to 15 minutes after the action has run. Invalidation is intended for use in exceptional circumstances, not as part of your normal workflow.
See also Google's documentation on best practices for cache invalidation.
no_cache_paths
-
Optional. Comma separated list of paths that should not be cached.
Default value:
<empty>