Skip to content

Commit

Permalink
gh-actions/
Browse files Browse the repository at this point in the history
  • Loading branch information
phlax committed Nov 25, 2024
1 parent 5ffc89b commit 49579e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gh-actions/gcs/artefact/sync/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ runs:
echo "<meta http-equiv=\"refresh\""
echo " content=\"0; URL='https://storage.googleapis.com/${{ steps.paths.outputs.bucket }}/${{ inputs.index-file }}'\" />"
} > "${{ steps.paths.outputs.redirect-tmp }}/${{ inputs.index-file }}"
echo "Uploading redirect to gs://${{ steps.paths.outputs.redirect }}/${{ inputs.index-file }} ..." >&2
echo "Uploading redirect to gs://${{ steps.paths.outputs.redirect }} ..." >&2
gsutil \
-h "Cache-Control:no-cache,max-age=0" \
-mq rsync \
-dr "${{ steps.paths.outputs.redirect-tmp }}" \
"gs://${{ steps.paths.outputs.redirect }}"
echo "Redirect uploaded to: https://storage.googleapis.com/${{ steps.paths.outputs.redirect }}/${{ inputs.index-file }}" >&2
shell: bash

0 comments on commit 49579e4

Please sign in to comment.