Skip to content

Deploying

Alex Hinds edited this page Feb 28, 2019 · 6 revisions

Deploy procedure for master releases

git checkout dev && git pull origin dev
npm version [major,minor,patch]
git checkout master && git pull origin master
git merge dev
git push origin master --tags && git push
git checkout dev && git push

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