Hi, any help deploy to a azure static web app? is the same as to a normal web app?
@lprada hi. Thanks for your question. It's a good case to use Pipe: Azure CLI Deploy :
script: - pipe: atlassian/azure-cli-run:1.0.1 variables: AZURE_APP_ID: $AZURE_APP_ID AZURE_PASSWORD: $AZURE_PASSWORD AZURE_TENANT_ID: $AZURE_TENANT_ID CLI_COMMAND: 'az staticwebapp <your params>'
To discover more pipes, visit our Bitbucket Pipes Marketplace.
Regards, Igor.
HI @Igor Stoyanov .I used this command in azure cli:
az ad sp create-for-rbac --name MyServicePrincipal
I added directly there values to your above mentioned script but im faced by this error.
Is there any other way so that i can push my app to azure web app.
Also are we only required to send our app as zip file or only the build app. can we directly send build files or we have to send them as zip folder?
@Saqib Ur Rehman hi. The error points you, that you dont have Azure subscription when trying to login.Answering your question, take a look at Azure pipes here.Maybe this azure-web-apps-deploy pipe is what are you looking for.Also, please, next time create a new question with your own issue instead.Regards, Igor.
Thanks.The issue was solved but i dont know why.Our manager bought Azure subscription im added as a contributor to it. When i created a ServicePrincipal and gave it access, still the credentials were not working, But when manager created a servicePrincipal it worked.
It looks like you're new here. Sign in or register to get started.