You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add any APIs your site will need to use server-side code for
use this ARM template to deploy a Function and deploy the repo
update the below environment varaiables to point to your static website content, then set this template as the continueous deployment source for the Azure Function.
on the github static content repo, create a new webhook and enter the function webhook URL and key as the target for pulls only
Environment variables that need to be set:
AZURE_STORAGE_ACCOUNT
AZURE_STORAGE_ACCESS_KEY
STATIC_CONTENT_CONTAINER
STATIC_CONTENT_OWNER
STATIC_CONTENT_REPO
Static content requirements:
You must have an index.html that will serve as the root page
You must put all other files inside the lib directory
About
Serve a website out of an Azure Function using Azure Storage Block Blobs and keep the Azure Storage container in sync with a Github repo