Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 1.57 KB

File metadata and controls

59 lines (38 loc) · 1.57 KB

Upload files to static website

README.md

Prerequisites

This example assumes you have previously completed the following examples:

  1. Create an Azure Resource Group
  2. Create an Azure Storage Account
  3. Enale static website hosting

Upload files to static website

To upload a directory containing your static website use the following command line:

  az storage blob upload-batch \
    --source web \
    --destination '$web' \
    --account-name $STORAGE_ACCOUNT_NAME \
    --connection-string $STORAGE_ACCOUNT_CONNECTION_STRING

Cleanup

Do NOT forget to remove the resources once you are done running the example.

1m