We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bdb1c6 commit 85be63fCopy full SHA for 85be63f
.github/workflows/main.yml
@@ -159,5 +159,14 @@ jobs:
159
done
160
fi
161
162
+ if [[ "$bucket_path" == staging/* ]]
163
+ then
164
+ versioned_builds=($(find . -type d -regex ".*[0-9-]" -maxdepth 1 | sed -E 's/^.\///'))
165
+ for versioned_build in "${versioned_builds[@]}"; do
166
+ product=$(grep -Eo '[a-zA-Z]+' <<< $versioned_build)
167
+ gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/operate/${product}" "gs://${BUCKET}/${bucket_path}/${versioned_build}/operate/${product}"
168
+ done
169
+ fi
170
+
171
- name: End
172
run: echo "This job's status is ${{ job.status }}."
0 commit comments