Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit ba30c1a

Browse files
authored
Merge pull request #12 from wleepang/master
fix deployment config script
2 parents 82f3dcb + 4349e46 commit ba30c1a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

_scripts/configure-deploy.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ set -e
55
# This script expects the following environment variable(s)
66
# ASSET_ROLE_ARN: the AWS role ARN that is used to publish assets
77

8-
cat << EOF > ~/.aws/config
8+
mkdir -p $HOME/.aws
9+
cat << EOF > $HOME/.aws/config
910
[default]
1011
output = json
1112
@@ -14,4 +15,4 @@ role_arn = ${ASSET_ROLE_ARN}
1415
credential_source = Environment
1516
EOF
1617

17-
cat ~/.aws/config
18+
cat $HOME/.aws/config

0 commit comments

Comments
 (0)