From ed9036e6d0a7ac7c6c569ef59775e9782fb9855b Mon Sep 17 00:00:00 2001 From: John Shaughnessy Date: Tue, 31 Oct 2023 23:06:04 -0400 Subject: [PATCH] Manually upload to GCS --- .github/workflows/upload-to-gcs-bucket.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/upload-to-gcs-bucket.yml b/.github/workflows/upload-to-gcs-bucket.yml index 867d640..2545ea1 100644 --- a/.github/workflows/upload-to-gcs-bucket.yml +++ b/.github/workflows/upload-to-gcs-bucket.yml @@ -30,8 +30,14 @@ jobs: - name: List objects in bucket run: gsutil ls gs://ocho-osai/ - - name: Upload to GCS - uses: google-github-actions/upload-cloud-storage@v1 - with: - path: ./gcs/store.json - destination: gs://ocho-osai/store.json + # - name: Upload to GCS + # uses: google-github-actions/upload-cloud-storage@v1 + # with: + # path: ./gcs/store.json + # destination: gs://ocho-osai/store.json + + - name: Manually remove from GCS + run: gsutil rm gs://ocho-osai/store.json + + - name: Manually upload to GCS + run: gsutil cp ./gcs/store.json gs://ocho-osai/store.json