Hospital-Management-System/client/continuous_deployment/deploy.sh

9 lines
282 B
Bash
Raw Permalink Normal View History

2021-03-31 01:50:36 +00:00
#!/bin/bash
set -ev
#run only on master
if [[ $TRAVIS_PULL_REQUEST == "false" ]] && [[ $TRAVIS_BRANCH == "master" ]]; then
firebase use prod --token $FIREBASE_TOKEN
firebase deploy --non-interactive --token $FIREBASE_TOKEN
node ./continuous_deployment/bs.js $BSNAME $BSKEY
fi