File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ script:
19
19
- echo "do some tests..."
20
20
21
21
before_deploy :
22
- # Parse branch name and determine an environment to deploy
23
- - export ENV=$(echo "${TRAVIS_BRANCH}" | perl -ne "print $& if /(?<=deploy\/).*/")
24
- # account number to mask
25
- - account_number=$(aws sts get-caller-identity --output text --query 'Account')
26
22
# install aws cli
27
23
- sudo apt-get -y install python-pip
28
24
- sudo pip install awscli
29
25
- aws --version
26
+ # Parse branch name and determine an environment to deploy
27
+ - export ENV=$(echo "${TRAVIS_BRANCH}" | perl -ne "print $& if /(?<=deploy\/).*/")
28
+ # account number to mask
29
+ - account_number=$(aws sts get-caller-identity --output text --query 'Account')
30
30
deploy :
31
31
- provider : script
32
32
script : ./scripts/deploy.sh ${ENV} | sed -e "s/${account_number}/SECRET/g"
You can’t perform that action at this time.
0 commit comments