Azure / Azure/static-web-apps

skip_deploy_on_missing_secrets is not supported

Open
#679 7 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Set up a build task and do not include the `` parameter

```
steps:
- task: AzureStaticWebApp@0
inputs:
app_location: 'MyApp'
app_build_command: 'dotnet build'
output_location: 'wwwroot'
skip_deploy_on_missing_secrets: true
# azure_static_web_apps_api_token: $(api_token)
```

Here is the error
```
Verbose logging enabled
deployment_token was not provided.
The deployment_token is required for deploying content. If you'd like to continue the run without deployment, add the configuration skip_deploy_on_missing_secrets set to true in your deployment configuration file
An unknown exception has occurred
Failed to record upload telemtry.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.