Problem to deploy Azure static web apps

Juan Daniel SANTANA
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2023

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

 

2 answers

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 10, 2023

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

0 votes
Juan Daniel SANTANA
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2023

pipelines error.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events