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:
1919 - echo "do some tests..."
2020
2121before_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')
2622 # install aws cli
2723 - sudo apt-get -y install python-pip
2824 - sudo pip install awscli
2925 - 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')
3030deploy :
3131 - provider : script
3232 script : ./scripts/deploy.sh ${ENV} | sed -e "s/${account_number}/SECRET/g"
You can’t perform that action at this time.
0 commit comments