Skip to content

Commit 4de5a7c

Browse files
committed
update s3 sync action
1 parent 78656c6 commit 4de5a7c

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

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

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,6 @@ runs:
3232
aws-secret-access-key: ${{ inputs.aws_secret_key }}
3333
aws-region: ${{ inputs.aws_region }}
3434

35-
- name: Test AWS connection step by step
36-
shell: bash
37-
run: |
38-
echo "=== Testing AWS CLI ==="
39-
aws --version
40-
41-
echo "=== Testing credentials ==="
42-
aws sts get-caller-identity
43-
44-
echo "=== Testing S3 access ==="
45-
aws s3 ls
46-
47-
echo "=== Testing specific bucket ==="
48-
aws s3 ls s3://${{ inputs.bucket_name }}/
49-
50-
echo "=== Testing bucket location ==="
51-
aws s3api get-bucket-location --bucket ${{ inputs.bucket_name }}
52-
53-
echo "=== Testing bucket policy ==="
54-
aws s3api get-bucket-policy --bucket ${{ inputs.bucket_name }} || echo "No bucket policy found"
55-
5635
- name: Sync directory to S3
5736
shell: bash
5837
run: |

0 commit comments

Comments
 (0)