File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,22 @@ jobs:
2525 - name : Build WASM
2626 run : dotnet publish ./src/cv -c Release -o ./publish
2727
28- - name : Upload to blob storage
28+ - name : Sync to blob storage
2929 uses : azure/CLI@v1
3030 with :
3131 inlineScript : |
32- az storage blob upload-batch --connection-string "${{ secrets.AZURE_STORAGE_ACCOUNT_CONNECTION_STRING }}" -d '$web' -s ./publish/wwwroot --overwrite=true
32+ az storage blob sync \
33+ --connection-string "${{ secrets.AZURE_STORAGE_ACCOUNT_CONNECTION_STRING }}" \
34+ -c '$web' \
35+ -s ./publish/wwwroot
3336
34- - name : Upload GZIP files to blob storage
37+ - name : az storage blob sync --connection-string "${{ secrets.AZURE_STORAGE_ACCOUNT_CONNECTION_STRING }}" -c '$web' -s ./publish/wwwroot
3538 uses : azure/CLI@v1
3639 with :
37- inlineScript : az storage blob upload-batch --connection-string "${{ secrets.AZURE_STORAGE_ACCOUNT_CONNECTION_STRING }}" -d '$web' -s ./publish/wwwroot --overwrite=true --content-encoding="gzip" --pattern="*.gz" --content-type="application/octet-stream"
40+ inlineScript : |
41+ az storage blob update-batch \
42+ --connection-string "${{ secrets.AZURE_STORAGE_ACCOUNT_CONNECTION_STRING }}" \
43+ -c '$web' \
44+ --pattern "*.gz" \
45+ --content-encoding "gzip" \
46+ --content-type "application/octet-stream"
You can’t perform that action at this time.
0 commit comments