Skip to content

Commit

Permalink
Merge pull request #230 from LudvigHz/cdn-bucket-headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Starefossen authored Oct 8, 2024
2 parents f0cf5fe + 5ca4a3e commit 6967784
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions actions/cdn-upload/v2/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ inputs:
description: "Keep parent directory name when uploading"
required: false
default: "true"
headers:
description: "Set headers on the uploaded files"
required: false
cache_invalidation:
description: "Cache invalidation"
required: false
Expand Down Expand Up @@ -114,6 +117,7 @@ runs:
path: "${{ inputs.source }}"
parent: '${{ inputs.source_keep_parent_name }}'
destination: "${{ env.BUCKET_NAME }}/${{ inputs.team }}/${{ inputs.destination }}"
headers: "${{ inputs.headers }}"

# Invalidate cache if cache_invalidation is set to true
- name: "Set up Cloud SDK"
Expand Down

0 comments on commit 6967784

Please sign in to comment.