Skip to content

Commit 798986e

Browse files
committed
Revert "rsync instead of two step delete and upload in GCP deploy"
This reverts commit aa6642f.
1 parent aa6642f commit 798986e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/release.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,12 @@ jobs:
2828
run: npm run build
2929
- name: "setup-gcloud"
3030
uses: "google-github-actions/setup-gcloud@v2"
31-
- name: "sync-to-bucket"
32-
run: gcloud storage rsync build gs://sourcify-docs-bucket --recursive --delete-unmatched-destination-objects
31+
- name: "clear-bucket"
32+
run: gsutil -m rm gs://sourcify-docs-bucket/** || true
33+
- name: "upload-files"
34+
uses: "google-github-actions/upload-cloud-storage@v2"
35+
with:
36+
path: "build"
37+
destination: "sourcify-docs-bucket"
38+
parent: false
39+
glob: "**/*"

0 commit comments

Comments
 (0)