From 583e331f81ef42f962b4e867d2eec0818e2a87a3 Mon Sep 17 00:00:00 2001 From: Matthew Runyon Date: Thu, 20 Feb 2025 18:45:44 -0600 Subject: [PATCH] Fix for temporary false --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 2d3d7b6..0ddac3e 100644 --- a/action.yml +++ b/action.yml @@ -49,4 +49,4 @@ runs: # Check temporary != 'false' so any other value is marked as temporary since there's no actual validation of boolean or required inputs # The production bucket doesn't have a lifecycle rule, so omitting temporary just results in a tag on files. They won't actually be deleted run: | - rclone sync --fast-list --checksum ${{ inputs.source }} :s3:${{ inputs.production == 'true' && 'deephaven-docs' || 'deephaven-docs-preview' }}/${{ inputs.destination }} ${{ inputs.temporary != 'false' && '--header-upload "x-amz-tagging: temporary=true"' }} + rclone sync --fast-list --checksum ${{ inputs.source }} :s3:${{ inputs.production == 'true' && 'deephaven-docs' || 'deephaven-docs-preview' }}/${{ inputs.destination }} ${{ inputs.temporary != 'false' && '--header-upload "x-amz-tagging: temporary=true"' || '' }}