Skip to content

Commit

Permalink
Recurse when syncing the docs site (#2904)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatskaari authored Sep 22, 2023
1 parent 9bd50e4 commit 24aa172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/release_s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ release_folder() {
local path=$2

aws s3 sync $folder s3://please-releases/$path
gsutil rsync $folder gs://get.please.build/$path
gsutil rsync -r $folder gs://get.please.build/$path
}

# Copies a file to the bucket, optionally setting the content type
Expand All @@ -35,7 +35,7 @@ echo $GCLOUD_SERVICE_KEY | gcloud auth activate-service-account --key-file=-
echo "Releasing docs website"
tar -xzf /tmp/workspace/deep-docs.tar.gz -C /tmp/workspace && \
aws s3 sync /tmp/workspace/docs s3://please-docs && \
gsutil rsync /tmp/workspace/docs gs://please.build
gsutil rsync -r /tmp/workspace/docs gs://please.build


if aws s3 ls s3://please-releases/linux_arm64/$VERSION/; then
Expand Down

0 comments on commit 24aa172

Please sign in to comment.