From fb61dce7bbea5eb7423c6e6a41be412c557955ac Mon Sep 17 00:00:00 2001 From: Clare So Date: Thu, 22 Feb 2024 01:20:51 -0500 Subject: [PATCH] Can we upload a file? --- .github/workflows/staging-push.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/staging-push.yml b/.github/workflows/staging-push.yml index fd1b0d0d..1cc3f2a4 100644 --- a/.github/workflows/staging-push.yml +++ b/.github/workflows/staging-push.yml @@ -47,6 +47,8 @@ jobs: # Connect to GCP bucket # Use Github Actions marketplace - - name: Connect to GCP bucket + - name: Upload file to GCP bucket run: | - gcloud auth activate-service-account test-dashboard-cloud-run@moz-mobile-tools.iam.gserviceaccount.com --key-file=/tmp/gce-cloudsql-proxy/key.json --project=moz-mobile-tools \ No newline at end of file + echo "Hello World!" >> hello.txt + gcloud auth activate-service-account test-dashboard-cloud-run@moz-mobile-tools.iam.gserviceaccount.com --key-file=/tmp/gce-cloudsql-proxy/key.json --project=moz-mobile-tools + gcloud storage cp hello.txt gs://backups-testrail-test-suites \ No newline at end of file