@@ -193,8 +193,10 @@ jobs:
193
193
bucket_path=`echo "version/${{ github.ref_name }}" | sed 's/-build$//'`
194
194
else
195
195
bucket_path=staging/${{ github.ref_name }}
196
- fi \
197
- && gsutil -m rsync -r -c -j html -d ${{ github.workspace }}/public gs://$BUCKET/$bucket_path
196
+ fi
197
+
198
+ gsutil -m rsync -r -c -j html -d ${{ github.workspace }}/public gs://$BUCKET/$bucket_path
199
+ gsutil -m rsync -r -c -j html -d ${{ github.workspace }}/public gs://$BUCKET/docs/$bucket_path
198
200
199
201
if [[ "${{ github.ref_name }}" == "latest" ]]
200
202
then
@@ -203,8 +205,10 @@ jobs:
203
205
product=$(awk 'BEGIN{FS=OFS="-"}{NF--; print}' <<< $versioned_build)
204
206
if [[ "${product}" == "redis-data-integration" ]]; then
205
207
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/integrate/${product}" "gs://${BUCKET}/${versioned_build}/integrate/${product}"
208
+ gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/integrate/${product}" "gs://${BUCKET}/docs/${versioned_build}/integrate/${product}"
206
209
else
207
210
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/operate/${product}" "gs://${BUCKET}/${versioned_build}/operate/${product}"
211
+ gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/operate/${product}" "gs://${BUCKET}/docs/${versioned_build}/operate/${product}"
208
212
fi
209
213
done
210
214
fi
@@ -216,8 +220,10 @@ jobs:
216
220
product=$(awk 'BEGIN{FS=OFS="-"}{NF--; print}' <<< $versioned_build)
217
221
if [[ "${product}" == "redis-data-integration" ]]; then
218
222
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/integrate/${product}" "gs://${BUCKET}/${bucket_path}/${versioned_build}/integrate/${product}"
223
+ gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/integrate/${product}" "gs://${BUCKET}/docs/${bucket_path}/${versioned_build}/integrate/${product}"
219
224
else
220
225
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/operate/${product}" "gs://${BUCKET}/${bucket_path}/${versioned_build}/operate/${product}"
226
+ gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/operate/${product}" "gs://${BUCKET}/docs/${bucket_path}/${versioned_build}/operate/${product}"
221
227
fi
222
228
done
223
229
fi
0 commit comments