Hat tip to @ascorbic for his Netlify Template and to @anthonychu for his support getting this to work on Azure Static Web Apps.
You will need to set the following secrets in your repo:
- REMIX_LICENSE_KEY: Get this from your Remix Dashboard
- AZURE_STATIC_WEB_APPS_TOKEN: Get this from your Azure Portal. On the overview screen for your static web app, there is a button at the top that says Manage Token. That should be your secret value.
In the future, I would like to add a Deploy to Azure button to this page, but that requires an Azure Resource Management (ARM) template and right now Static Web Apps with functions aren't supported for ARM templates.