Skip to content
This repository was archived by the owner on May 19, 2020. It is now read-only.

Commit 5af9541

Browse files
author
Marco Segreto
authored
Merge pull request #471 from 18F/js-app-name-deploy
Explicitly assign APP_NAME
2 parents 4bfa570 + 92f0cfe commit 5af9541

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

deploy/travis_deploy.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,22 @@ if [[ "$TRAVIS_TAG" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[A-Za-z0-9-]+)? ]]
1818
then
1919
CF_MANIFEST="manifest-prod.yml"
2020
CF_SPACE="deck-prod"
21+
CF_APP="cf-deck"
2122
elif [ "$TRAVIS_BRANCH" == "master" ]
2223
then
2324
CF_MANIFEST="manifest-master.yml"
2425
CF_SPACE="deck-stage"
26+
CF_APP="cf-deck"
2527
elif [ "$TRAVIS_BRANCH" == "staging" ]
2628
then
2729
CF_MANIFEST="manifest-staging.yml"
2830
CF_SPACE="deck-stage"
31+
CF_APP="cf-deck-staging"
2932
elif [ "$TRAVIS_BRANCH" == "deprecated" ]
3033
then
3134
CF_MANIFEST="manifest-deprecated.yml"
3235
CF_SPACE="deck-prod"
36+
CF_APP="cg-deck"
3337
else
3438
exit
3539
fi
@@ -47,7 +51,7 @@ $CF_BIN auth $CF_USERNAME $CF_PASSWORD && $CF_BIN target -o $CF_ORGANIZATION -s
4751
# Set manifest path for eastwest
4852
MANIFEST_PATH=manifests/eastwest/$CF_MANIFEST
4953
# Run autopilot plugin
50-
$CF_BIN zero-downtime-push cf-deck -f $MANIFEST_PATH -p $CF_PATH
54+
$CF_BIN zero-downtime-push $CF_APP -f $MANIFEST_PATH -p $CF_PATH
5155

5256
# Log in to govcloud
5357
$CF_BIN api $CF_API_GC

0 commit comments

Comments
 (0)