File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ sudo : true
2+ language : node_js
3+ node_js :
4+ - ' 5.7'
5+ cache :
6+ yarn : true
7+ directories :
8+ - node_modules
9+ env :
10+ global :
11+ - CF_API=https://api.ng.bluemix.net/
12+ 13+ 14+ - CF_SPACE=dev
15+ before_deploy :
16+ - wget https://s3.amazonaws.com/go-cli/releases/v6.12.4/cf-cli_amd64.deb -qO temp.deb && sudo dpkg -i temp.deb
17+ - rm temp.deb
18+ - cf login -a ${CF_API} -u ${CF_USERNAME} -p ${BLUEMIX_PASSWORD} -o ${CF_ORG} -s ${CF_SPACE}
19+ - cf install-plugin autopilot -r CF-Community
20+ - yarn build
21+ deploy :
22+ - edge : true
23+ provider : script
24+ script : if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then cf zero-downtime-push create-react-app-devops -f ./manifest.yml; else echo "PR skip deploy"; fi
25+ skip_cleanup : true
26+ on :
27+ branch : master
You can’t perform that action at this time.
0 commit comments