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

7 lines
143 B
Bash

#!/bin/bash
set -ev
#run only on master
if [[ $TRAVIS_PULL_REQUEST == "false" ]] && [[ $TRAVIS_BRANCH == "master" ]]; then
npm run build
fi