az blob storage sync changes content type of json from application/json to text/plain
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
I am using the az cli github action latest version
**Describe the bug**
Running this command
az storage blob sync -c '$web' -s _output --connection-string '${{ secrets.AZURE_STORAGE_CONNECTION_STRING }}'
does not set the content type of json files to application/json instead it is set to text/plain
**To Reproduce**
run the command above within github actions
**Expected behavior**
the json blobs with json file extension should have a content type of application/json
**Environment summary**
I am using this within github actions
**Additional context**
Please let me know if any other information would be helpful. Currently I am excluding the json pattern from the sync command and then using delete batch and upload batch to update the json blobs and this secondary step sets the correct content type.
Contributor guide
Assessment
This issue has not been assessed yet.