When I use Azure Storage deploy v1.1.1 to deploy static website build files to blobstore, the files are uploaded and the content-type is set to application/octet-strem. This is a problem, because when you then visit the static website, the index.html file is downloaded as a file instead of shown as a web page
I need *.html files to be uploaded with content-type text/html and *.js files as application/javascript
bitbucket-pipelines.yml:
# Check our guides at https://confluence.atlassian.com/x/14UWN for more examples.
# Only use spaces to indent your .yml configuration.
image: node:10.15.3
pipelines:
default:
- step:
caches:
- node
script: # Modify the commands below to build your repository.
- npm install
- npm test
- npm run-script build
- step:
name: Deploy to test
deploymend: test
trigger: manual
caches:
- node
script:
- npm install --production
- npm run-script build --production
- pipe: microsoft/azure-storage-deploy:1.1.1
variables:
SOURCE: 'build'
DESTINATION: $AZURE_STORAGE_DESTINATION
DESTINATION_SAS_TOKEN: $AZURE_STORAGE_SAS_TOKEN
DEBUG: 'true'
Desired result:

Actual result:
