-
Notifications
You must be signed in to change notification settings - Fork 1
Deploying
Ensure you lodge a PR that gets approval from one of the admins into the develop branch. After this is squash-merged via github, and the build successfully deploys to dev. dev can be merged into master for deployment.
Please follow below steps:
git checkout dev
git fetch && git pull origin dev
git checkout master
git pull origin master
git reset --hard dev
npm version [major,minor,patch]
git push origin master --force --tagsHow it works:
The app is built to the ./dist/public directory, and zipped.
Azure's zip upload endpoint is used to upload and unzip the public directory. Docs are here.
Note: the recommended api for deployment is zipdeploy. This is used for the backend; it cannot be used for frontend also because it wipes the previous deployment.
The parent directory of public is where the api repo is deployed to using zipdeploy.
deploy.sh requires user credentials in the environment variables. Read about creating/updating user credentials here.