Skip to content

Commit

Permalink
Only upload if branch
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Nov 20, 2024
1 parent 2c2d47d commit f30a0c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ops/pipeline/publish-artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ fi
artifact="$1"
s3_url="$2"

#if [[ ($is_pull_request == 0) && ($is_release_branch == 1) ]]
#then
if [[ ($is_pull_request == 0) && ($is_release_branch == 1) ]]
then
echo "aws s3 cp ${artifact} ${s3_url} --acl public-read --no-progress"
aws s3 cp "${artifact}" "${s3_url}" --acl public-read --no-progress
#fi
fi

0 comments on commit f30a0c3

Please sign in to comment.