We need to upload all assets from /temp/deploy/ to our Azure Storage account. Microsoft has built a handy Gulp task for this, called deploy-azure-storage that we can simply execute. It reads through the configuration file and automatically uploads our assets to Azure Storage. This is also a handy but crude test to see if our Storage account is accessible and correctly configured within the project.
- In the Integrated Terminal, run gulp deploy-azure-storage:
- You should see from the output of the task that the upload completes. You can also verify that the files have been uploaded by opening the Blob Container from Azure Storage, and the files should be visible there:
We still have to update our old previously deployed SharePoint Framework package. In order to do this, navigate back to your App Catalog site, and re-upload the new .sppkg file to replace the old version (which did not use CDN).
Upon completing the upload, you'll get the dialog...