mobilefish

Untitled

Mar 2nd, 2020
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. if [ "$DEPLOYMENT_GROUP_NAME" == "front-end-stage" ]
  2. then
  3.  
  4. KEY=`aws s3 ls s3://codepipeline-ap-southeast-1-xxxxxxxx/front-end/BuildArtif/ --recursive | sort | tail -n 1| awk '{print $4}'`
  5. aws s3 cp s3://codepipeline-ap-southeast-1-xxxxxxxx/$KEY s3://app-artifact/uiapp/
  6.  
  7. fi
Add Comment
Please, Sign In to add comment