Skip to content

Commit

Permalink
Create a Staging App for Experimentation
Browse files Browse the repository at this point in the history
  • Loading branch information
seejamescode committed Mar 7, 2017
1 parent 2a4fe33 commit e792b41
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ before_deploy:
deploy:
- edge: true
provider: script
script: if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then cf zero-downtime-push create-react-app-devops -f ./manifest.yml; else echo "PR skip deploy"; fi
script: if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then cf zero-downtime-push create-react-app-devops-staging -f ./manifest-staging.yml; else echo "PR skip deploy"; fi
skip_cleanup: true
on:
branch: master
- edge: true
provider: script
script: if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then cf zero-downtime-push create-react-app-devop -f ./manifest.yml; else echo "PR skip deploy"; fi
skip_cleanup: true
on:
tags: true
9 changes: 9 additions & 0 deletions manifest-staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
applications:
- name: create-react-app-devops-staging
buildpack: https://github.com/cloudfoundry/nodejs-buildpack
command: npm run bluemix
disk_quota: 256MB
memory: 128MB
services:
- keys

0 comments on commit e792b41

Please sign in to comment.