File tree Expand file tree Collapse file tree
.github/actions/aws-s3-sync Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+
3556 - name : Sync directory to S3
3657 shell : bash
3758 run : |
You can’t perform that action at this time.
0 commit comments