Skip to content

Commit 4deae8d

Browse files
committed
Fix gsutil sync for staging branches
1 parent 5996c9c commit 4deae8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main-staging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ jobs:
178178
for versioned_build in "${versioned_builds[@]}"; do
179179
read product version<<<$(awk 'BEGIN{FS="-"}{print $1 " " $2}' <<< $versioned_build)
180180
if [[ "${product}" == "redis-data-integration" ]]; then
181-
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/integrate/${product}/${version}" "gs://${BUCKET}/${bucket_path}/${versioned_build}/integrate/${product}"
181+
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/integrate/${product}/" "gs://${BUCKET}/${bucket_path}/${versioned_build}/integrate/${product}"
182182
else
183-
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/operate/${product}/${version}" "gs://${BUCKET}/${bucket_path}/${versioned_build}/operate/${product}"
183+
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/operate/${product}/" "gs://${BUCKET}/${bucket_path}/${versioned_build}/operate/${product}"
184184
fi
185185
done
186186

0 commit comments

Comments
 (0)