Skip to content

Commit bbf1064

Browse files
committed
PE-398 swapping to gcloud storage rsync (dry-run)
1 parent 6a27890 commit bbf1064

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/deploy-to-gcs.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,9 @@ jobs:
2929
export VERSION=$(jq '.version | sub(".[0-9]$"; "") | tonumber' < package.json)
3030
echo "version=$VERSION" >> $GITHUB_ENV
3131
32-
- name: Test version number
32+
- name: Sync files to Google Cloud Storage
3333
run: |
34-
echo "gs://mc-high-impact/$version/sds"
35-
36-
# - name: Upload files to Google Cloud Storage
37-
# run: |
38-
# gsutil -m cp -r my_files gs://${{ secrets.GCP_BUCKET_NAME }}
34+
gcloud storage rsync --dry-run --recursive dist gs://mc-high-impact/sds/$version
3935
4036
# - name: List files in bucket (Optional - for verification)
4137
# run: |

0 commit comments

Comments
 (0)