From e9c2704fb264de211b9811f9978d508ab123dfd5 Mon Sep 17 00:00:00 2001 From: paoloredis Date: Mon, 14 Jul 2025 14:32:26 +0200 Subject: [PATCH] Copy content to docs folder for cloud connector use --- .github/workflows/main.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1da1581a04..3bfc3d7f81 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -193,8 +193,10 @@ jobs: bucket_path=`echo "version/${{ github.ref_name }}" | sed 's/-build$//'` else bucket_path=staging/${{ github.ref_name }} - fi \ - && gsutil -m rsync -r -c -j html -d ${{ github.workspace }}/public gs://$BUCKET/$bucket_path + fi + + gsutil -m rsync -r -c -j html -d ${{ github.workspace }}/public gs://$BUCKET/$bucket_path + gsutil -m rsync -r -c -j html -d ${{ github.workspace }}/public gs://$BUCKET/docs/$bucket_path if [[ "${{ github.ref_name }}" == "latest" ]] then @@ -203,8 +205,10 @@ jobs: product=$(awk 'BEGIN{FS=OFS="-"}{NF--; print}' <<< $versioned_build) if [[ "${product}" == "redis-data-integration" ]]; then gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/integrate/${product}" "gs://${BUCKET}/${versioned_build}/integrate/${product}" + gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/integrate/${product}" "gs://${BUCKET}/docs/${versioned_build}/integrate/${product}" else gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/operate/${product}" "gs://${BUCKET}/${versioned_build}/operate/${product}" + gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/operate/${product}" "gs://${BUCKET}/docs/${versioned_build}/operate/${product}" fi done fi @@ -216,8 +220,10 @@ jobs: product=$(awk 'BEGIN{FS=OFS="-"}{NF--; print}' <<< $versioned_build) if [[ "${product}" == "redis-data-integration" ]]; then gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/integrate/${product}" "gs://${BUCKET}/${bucket_path}/${versioned_build}/integrate/${product}" + gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/integrate/${product}" "gs://${BUCKET}/docs/${bucket_path}/${versioned_build}/integrate/${product}" else gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/operate/${product}" "gs://${BUCKET}/${bucket_path}/${versioned_build}/operate/${product}" + gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/operate/${product}" "gs://${BUCKET}/docs/${bucket_path}/${versioned_build}/operate/${product}" fi done fi