Skip to content

Commit

Permalink
Updated spacename
Browse files Browse the repository at this point in the history
  • Loading branch information
nikunjmulani committed Oct 31, 2018
1 parent 9f57d19 commit bb85dfc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
api_key: $GITHUB_OAUTH_TOKEN
file: "build/libs/pal-tracker.jar"
skip_cleanup: true
- stage: deploy to review
- stage: deploy to CF_SPACE
language: java
before_install:
- wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add -
Expand All @@ -41,9 +41,9 @@ jobs:
- echo "Downloading $RELEASE_TAG"
- wget -P build/libs https://github.com/$GITHUB_USERNAME/pal-tracker/releases/download/$RELEASE_TAG/pal-tracker.jar
before_deploy:
- echo "Deploying $RELEASE_TAG to review"
- echo "Deploying $RELEASE_TAG to $CF_SPACE"
before_script:
- cf login -a $CF_API_URL -u $CF_USERNAME -p $CF_PASSWORD -o $CF_ORG -s review
- cf login -a $CF_API_URL -u $CF_USERNAME -p $CF_PASSWORD -o $CF_ORG -s $CF_SPACE
- scripts/migrate-databases.sh pal-tracker .
deploy:
provider: cloudfoundry
Expand Down

0 comments on commit bb85dfc

Please sign in to comment.