Skip to content

Commit

Permalink
Just use sed
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclaugh committed May 13, 2018
1 parent 54b3348 commit 3d6f1ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
- aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID_DEV
- aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY_DEV
- aws s3 sync "s3://${S3_BUCKET_DEV}/${S3_PREFIX}/" ./
- aws cloudformation package --template-file ../${SAM_TEMPLATE} --output-template-file $SAM_TEMPLATE_PACKAGED --s3-bucket ${S3_BUCKET_PROD} --s3-prefix ${S3_PREFIX}
- sed -i'' "s/${S3_BUCKET_DEV}/${S3_BUCKET_PROD}/" $SAM_TEMPLATE_PACKAGED
after_script:
# Ensure our creds are cleaned up.
- rm -rf ~/.aws
Expand Down

0 comments on commit 3d6f1ce

Please sign in to comment.