Hello,
We are using BitBucket pipelines and we haven't got an issue until now.
We are using the pipeline to deploy Azure Static Web App.
The pipeline was working correctly until now. It executes "successfully" but deployment is not conducted.
Our pipeline looks like this:
image: atlassian/default-image:3
image: node:20.10.0
pipelines:
custom:
Build and deploy:
- step:
name: Build and Deploy to Dev
caches:
- node
deployment: Dev
script:
- cd App.Destination
- npm install @angular/cli -g
- npm install
#production configuration actually holds the variable names of the Bibucket deployment variables
- ng build --configuration=production
#- uname -mrs
- pipe: microsoft/azure-static-web-apps-deploy:main
variables:
VERBOSE: 'true'
APP_LOCATION: '$BITBUCKET_CLONE_DIR/App.Destination/dist/app'
SKIP_APP_BUILD: "true"
We saw that the pipe "microsoft/azure-static-web-apps-deploy:main" is not initiating a deployment any longer. The output of this pipe can be seen in the attached screenshots.
The last two line of the output of this pipe are the following:
Digest: sha256:c5c8b14fb91853c4903ea62c5f25d57b5913e6c09efaa24e2aa1c9324101f748
Status: Downloaded newer image for staticwebapps.azurecr.io/bitbucket-deploy:stable
Is there any alternative to configure the BitBucket pipeline to deploy the Azure Static Web App other than the usage of "microsoft/azure-static-web-apps-deploy:main" pipe.
Thanks in advance.
For those who are still trying to find a workaround:
Instead using the mentioned pipe "microsoft/azure-static-web-apps-deploy:main" we are installing the swa cli and calling the "deploy" command.
This has been tested for Angular app without an API.
- npm install -g @azure/static-web-apps-cli
- swa --verbose=silly deploy "$BITBUCKET_CLONE_DIR/<app-folder>" --deployment-token=$deployment_token --en
Hi Blagovest Doshkov,
I have the same issue and have opened a Github Issue here: Pipe skipped after `Downloaded newer image for staticwebapps.azurecr.io/bitbucket-deploy:stable` · Issue #1366 · Azure/static-web-apps (github.com)
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.