We are currently using Static Web Apps for our front end web client with an independent Azure Function App supporting the API requests.
The production Azure Function App URL does not change and as a result we are able to deploy consistently to the production Static Web App and independent Azure Function app using Github Actions.
We would like to mirror the dynamic Static Web App deployments with Azure Function App deployment slots for our non-production environments. We would like to dynamically create a staging environment for each PR created in Github.
Is it possible to deploy to a unique dynamic Azure Function App deployment slot and return the Function App hosted URL via Github Actions back to Static Web Apps configuration?