Hi everyone,
I made a bitbucket-pipelines.yml to deploy a React app to Azure static web apps and it fail when try to get a variable API_TOKEN from $deployment_token added previously.
I made several test even paste directly the value and it not work.
Other users report to the same issue:
https://github.com/Azure/static-web-apps/issues/1314
https://github.com/Azure/static-web-apps/issues/1309
Thanks in advance
Here my pipelines:
image: node:18
pipelines:
default:
- step:
name: Build
caches:
- node
script:
- npm install
- npm run lint
- npm run build
- step:
name: Deploy to baamer.treegram.fr
deployment: develop
script:
- pipe: microsoft/azure-static-web-apps-deploy:main
variables:
APP_LOCATION: '$BITBUCKET_CLONE_DIR'
OUTPUT_LOCATION: '$BITBUCKET_CLONE_DIR/dist'
SKIP_APP_BUILD: 'true'
API_TOKEN: $deployment_token
Hi @Juan Daniel SANTANA . This pipe supported by Microsoft team, and seems like they stopped to maintain it:
This sample is provided "as is" and is not supported. Likewise, no commitments are made as to its longevity or maintenance. To discuss this sample with other users, please visit the Azure DevOps Services section of the Microsoft Developer Community: https://developercommunity.visualstudio.com/spaces/21/index.html.
Regards, Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.