Azure / Azure/static-web-apps

AzureStaticWebApp@0 'api token confusing'

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

Description

A clear and concise description of what the bug is.

The documentation of AzureStaticWebApp@0 misses a couple of things.

image

**Expected behavior**
1) The 'api token' described here is the deployment token, no? You don't need an API for SWA. _Consistent naming_ everywhere makes life for newbies so much easier.

2) Says "Not required if passed as an environment variable" - where is this documented? I tried setting the swa CLI's SWA_CLI_DEPLOYMENT_TOKEN variable, but no effect.

image

Just had to pass variable directly, when I got it working.
Am I doing it wrong? What environment variable is it searching for?

Kind Regards

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.