Skip to content

Commit 4884b8c

Browse files
committed
Fix gsutil usage
1 parent f36d330 commit 4884b8c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/main-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
else
195195
bucket_path=staging/${{ github.ref_name }}
196196
fi \
197-
&& ./google-cloud-sdk/bin/gsutil -m rsync -r -c -j html -d ${{ github.workspace }}/public gs://$BUCKET/$bucket_path
197+
&& gsutil -m rsync -r -c -j html -d ${{ github.workspace }}/public gs://$BUCKET/$bucket_path
198198
199199
versioned_builds=($(find . -type d -regex ".*[0-9-]" -maxdepth 1 | sed -E 's/^.\///'))
200200
for versioned_build in "${versioned_builds[@]}"; do

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
else
195195
bucket_path=staging/${{ github.ref_name }}
196196
fi \
197-
&& ./google-cloud-sdk/bin/gsutil -m rsync -r -c -j html -d ${{ github.workspace }}/public gs://$BUCKET/$bucket_path
197+
&& gsutil -m rsync -r -c -j html -d ${{ github.workspace }}/public gs://$BUCKET/$bucket_path
198198
199199
if [[ "${{ github.ref_name }}" == "latest" ]]
200200
then

.github/workflows/test_gcs_access.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
version: '>= 363.0.0'
3737

3838
- name: List files
39-
run: ./google-cloud-sdk/bin/gsutil ls gs://$BUCKET
39+
run: gsutil ls gs://$BUCKET
4040
- name: End
4141
run: echo "This job's status is ${{ job.status }}."
4242

0 commit comments

Comments
 (0)