Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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!
Nov 03, 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.
Nov 10, 2023 • edited

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!
Nov 03, 2023

pipelines error.png

Suggest an answer

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

Atlassian Community Events