Skip to content

Commit

Permalink
not upload to s3 if no set BUCKET_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
azuki774 committed Jul 20, 2024
1 parent 51f0bcc commit bea5dff
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/money-forward/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,10 @@ function s3_upload () {
}

fetch

if [ -z $BUCKET_NAME]; then
exit 0
fi

create_s3_credentials
s3_upload
5 changes: 5 additions & 0 deletions build/sbi/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,10 @@ function s3_upload () {
}

fetch

if [ -z $BUCKET_NAME]; then
exit 0
fi

create_s3_credentials
s3_upload

0 comments on commit bea5dff

Please sign in to comment.