Skip to content

Deploying

Nuno Das Neves edited this page Feb 15, 2019 · 6 revisions

Deploy procedure for master releases

git checkout dev
git fetch && git pull origin dev
git checkout master
git pull origin master
git reset --hard dev 
git tag [TAG]
git push origin master --force --tags

How it works:

The source files are zipped (including files used by npm to pull dependencies etc).
Azure's zipdeploy endpoint is used to upload and deploy. Read docs here and here.
The frontend (app repo) is deployed separately (using a different azure api) to the public folder; this isn't touched during deploy.
deploy.sh requires user credentials in the environment variables. Read about creating/updating user credentials here.

Clone this wiki locally