Skip to content

Commit 735542d

Browse files
authored
Upload extras add local option (#308)
1 parent ca44a2f commit 735542d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish-branch.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ name: hdfview publish files in HDFVIEW from branch to S3
44
on:
55
workflow_dispatch:
66
inputs:
7+
local_dir:
8+
description: 'HDFView local directory'
9+
type: string
10+
required: true
711
target_dir:
812
description: 'HDFView target bucket directory'
913
type: string
@@ -36,5 +40,5 @@ jobs:
3640

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

0 commit comments

Comments
 (0)