Skip to content

Commit

Permalink
ansible: promote releases to r2 via actions
Browse files Browse the repository at this point in the history
See nodejs#3838

Signed-off-by: flakey5 <[email protected]>
  • Loading branch information
flakey5 committed Oct 10, 2024
1 parent 639b70e commit 069108e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ansible/www-standalone/tools/promote/upload_to_cloudflare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ fi
relativedir=${dstdir/$dist_rootdir/"$site/"}
tmpversion=$2

aws s3 cp $staging_bucket/$relativedir/$tmpversion/ $dist_bucket/$relativedir/$tmpversion/ --endpoint-url=$cloudflare_endpoint --profile $cloudflare_profile --recursive --no-follow-symlinks
aws s3 cp $staging_bucket/$relativedir/index.json $dist_bucket/$relativedir/index.json --endpoint-url=$cloudflare_endpoint --profile $cloudflare_profile
aws s3 cp $staging_bucket/$relativedir/index.tab $dist_bucket/$relativedir/index.tab --endpoint-url=$cloudflare_endpoint --profile $cloudflare_profile
gh workflow run promote-release.yml --repo nodejs/release-cloudflare-worker --field path=$relativedir/$tmpversion/ --field recursive='true'
gh workflow run promote-release.yml --repo nodejs/release-cloudflare-worker --field path=$relativedir/index.json
gh workflow run promote-release.yml --repo nodejs/release-cloudflare-worker --field path=$relativedir/index.tab

0 comments on commit 069108e

Please sign in to comment.