Skip to content

Commit

Permalink
gh-actions/gcs/artefact/sync: Lint fix (#2469)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <[email protected]>
  • Loading branch information
phlax authored Nov 22, 2024
1 parent 3c25d26 commit b1eb807
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gh-actions/gcs/artefact/sync/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ runs:
- name: Add redirect
if: ${{ steps.paths.outputs.redirect }}
run: |
echo "<meta http-equiv=\"refresh\" content=\"0; URL='https://storage.googleapis.com/${{ steps.paths.outputs.bucket }}/index.html'\" />" \
> "${{ steps.paths.outputs.redirect-tmp }}/index.html"
{
echo "<meta http-equiv=\"refresh\"
echo " content=\"0; URL='https://storage.googleapis.com/${{ steps.paths.outputs.bucket }}/index.html'\" />"
} > "${{ steps.paths.outputs.redirect-tmp }}/index.html"
echo "Uploading redirect to gs://${{ steps.paths.outputs.redirect }} ..." >&2
gsutil \
-h "Cache-Control:no-cache,max-age=0" \
Expand Down

0 comments on commit b1eb807

Please sign in to comment.