Skip to content

Commit 7f9bf5d

Browse files
committed
[fix] update action
1 parent 4de5a7c commit 7f9bf5d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/aws-s3-sync/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ runs:
3636
shell: bash
3737
run: |
3838
DEST="s3://${{ inputs.bucket_name }}/${{ inputs.bucket_prefix }}"
39-
echo "Syncing ${{ inputs.source_dir }} → $DEST"
40-
aws s3 sync "${{ inputs.source_dir }}" "$DEST" \
39+
aws s3 sync ${{ inputs.source_dir }} ${DEST} \
40+
--region ${{ inputs.aws_region }} \
4141
--delete \
4242
--exclude ".git/*" \
4343
--exclude ".github/*" \

0 commit comments

Comments
 (0)