Skip to content

Commit

Permalink
Upload extras add local option (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF authored Jul 19, 2024
1 parent ca44a2f commit 735542d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ name: hdfview publish files in HDFVIEW from branch to S3
on:
workflow_dispatch:
inputs:
local_dir:
description: 'HDFView local directory'
type: string
required: true
target_dir:
description: 'HDFView target bucket directory'
type: string
Expand Down Expand Up @@ -36,5 +40,5 @@ jobs:

- name: Sync dir to S3 bucket
run: |
aws s3 sync ./HDFVIEW s3://${{ secrets.AWS_S3_BUCKET }}/${{ vars.TARGET_PATH }}/${{ inputs.target_dir }}
aws s3 sync ./HDFVIEW/${{ inputs.local_dir }} s3://${{ secrets.AWS_S3_BUCKET }}/${{ vars.TARGET_PATH }}/${{ inputs.target_dir }}

0 comments on commit 735542d

Please sign in to comment.