From a6f2e0b26e8f415c224cba3d0a5b8a6364cc4b81 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Fri, 8 Mar 2024 14:52:46 -0800 Subject: [PATCH] Fix buildres script auth (#413) --- buildres/download-staged-artifact.sh | 2 +- buildres/publish-from-staging.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildres/download-staged-artifact.sh b/buildres/download-staged-artifact.sh index 994306ea..a78ce885 100644 --- a/buildres/download-staged-artifact.sh +++ b/buildres/download-staged-artifact.sh @@ -13,4 +13,4 @@ fi DOWNLOAD_DIR=$VERSION-staged rm -rf $DOWNLOAD_DIR mkdir -p $DOWNLOAD_DIR -aws s3 cp s3://waveterm-github-artifacts/staging/$VERSION/ $DOWNLOAD_DIR/ --recursive +aws s3 cp s3://waveterm-github-artifacts/staging/$VERSION/ $DOWNLOAD_DIR/ --recursive --profile $AWS_PROFILE diff --git a/buildres/publish-from-staging.sh b/buildres/publish-from-staging.sh index 85b7fa19..5835049b 100644 --- a/buildres/publish-from-staging.sh +++ b/buildres/publish-from-staging.sh @@ -9,4 +9,4 @@ if [ -z "$VERSION" ]; then exit fi -aws s3 cp s3://waveterm-github-artifacts/staging/$VERSION/ s3://dl.waveterm.dev/releases/ --recursive \ No newline at end of file +aws s3 cp s3://waveterm-github-artifacts/staging/$VERSION/ s3://dl.waveterm.dev/releases/ --recursive --profile $AWS_PROFILE \ No newline at end of file