vscode-azurestaticwebapps
vscode-azurestaticwebapps copied to clipboard
Publish a SWA from VS Code
Needs discussion
- Select a SWA (exclude ones that are connected to GitHub):
- Create a SWA without connecting to GitHub
- Or select from list of SWAs not connected to GitHub
- Select a storage account and blob container (must be private) - Currently, the deployment API takes a URL to a zip file so a Storage account is needed. Need to figure out the most seamless experience here to ensure one exists and to select it.
- Select frontend app output/artifacts location
- Select backend app location (do we build the app for them? what if it's an app like C# that builds into a subdirectory?)
Then the extension will zip up the 2 folders in the right format and upload it to the container. Generate a SAS URI for the file and call the zipdeploy API with the SAS URI.
When successful, do we delete the file from storage?
/cc @miwebst @annaji-msft
Linking these issues for tracking:
https://github.com/Azure/static-web-apps/issues/298 https://github.com/Azure/static-web-apps/issues/7
[updating here as well!]
Hi all, We have now officially announced the GA of Static Web Apps CLI🎉🎉 This is a power-packed tool which now enables features such as login, deploy from local, automatic framework detection and much more - all from your local development system! Do have a look and let us know how you like it :) (P.S. It is Open Source, so feel free to contribute to the next set of features you'd like to see!) 🌟