Static-web-apps: Support publishing a zip using Az CLI

Created on 20 May 2020  路  5Comments  路  Source: Azure/static-web-apps

I would like a way to be able to publish a static web app from my file system, not using GitHub (or DevOps).

azure-cli enhancement

Most helpful comment

Agreed. If Azure CLI supports this platform, it could be used for local system and 3rd party pipelines (Bitbucket, etc).

All 5 comments

Agreed. If Azure CLI supports this platform, it could be used for local system and 3rd party pipelines (Bitbucket, etc).

We're looking at adding deploying a zip from via the Azure CLI. This will initially take a URL to a zip file. It means you'll have to zip up the contents and make it available on a publicly accessible location. This could be a SAS URI to a zip file in Azure Blob Storage. The file can be deleted after deployment.

Do you have any rough timeframe for when this might be available for testing?

We're looking at adding deploying a zip from via the Azure CLI. This will initially take a URL to a zip file. It means you'll have to zip up the contents and make it available on a publicly accessible location. This could be a SAS URI to a zip file in Azure Blob Storage. The file can be deleted after deployment.

Could you explain the reason for this approach over something like pointing at a local zip file? Or even the build output directory and perform the archiving for us as is the case with ZipDeploy?

That comment was based on how the deployment api works. We鈥檙e also looking at other options right now to see how to best support local deployment.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adamjcooper picture adamjcooper  路  6Comments

trevorkennedy picture trevorkennedy  路  4Comments

mahmoudajawad picture mahmoudajawad  路  3Comments

m-sterspace picture m-sterspace  路  4Comments

marxxxx picture marxxxx  路  4Comments