Updates the deployment workflow for dev, test, and production, to all take their application names from the environment variables, rather than hardcoded.
This enables us to deploy to the Carrot domain, related #734
The problem is - we need to redirect the azurewebsites.net urls to x.carrot.ac.uk.
The plan:
[x] Add the environment variables to the Github config
[x] Deploy the application code to new app services (hence enabling the name change here).
[x] Attach the domains to these app services.
[ ] Deploy a 301 redirect to the old app services, to their effective new environment domains.
Changes
Updates the deployment workflow for dev, test, and production, to all take their application names from the environment variables, rather than hardcoded.
This enables us to deploy to the Carrot domain, related #734 The problem is - we need to redirect the
azurewebsites.net
urls tox.carrot.ac.uk
.The plan: