Hi @Oblio
Thanks for the question and using MS Q&A platform.
To deploy a static web app from a pipeline artifact using the AzureStaticWebApp@0 task, make sure the 'working directory' points to the folder with the files to be deployed, not the zip file itself. The workingDirectory should be set to where the artifact is extracted or where the files are located.
If your build pipeline creates a zip file, you might need to extract that zip in the release pipeline before pointing to the directory with the extracted files. Also, double-check that the APP_LOCATION and OUTPUT_LOCATION in your pipeline config match your project's structure.
Tutorial: Deploy Bitbucket repositories on Azure Static Web Apps
Use Azure Pipelines to build and deploy a Python web app to Azure App Service
If the answer is helpful, please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.