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