keithweaver/aws-s3-github-action

upload failed...An error occurred (InvalidAccessKeyId) when calling the PutObject operation: The AWS Access Key Id you provided does not exist in our records.

Opened this issue · 0 comments

LayMui commented

I have already defined the values for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY and AWS_TOKEN_SESSION to the repository secrets
but I got the error
upload failed: target/site/serenity/icons/github.svg to s3://usermanagement-serenity-report-stage/icons/github.svg An error occurred (InvalidAccessKeyId) when calling the PutObject operation: The AWS Access Key Id you provided does not exist in our records.
5576
Completed 7.6 MiB/11.0 MiB (0 Bytes/s) with 767 file(s) remaining
5577
upload failed: target/site/serenity/icons/globe.svg to s3://usermanagement-serenity-report-stage/icons/globe.svg An error occurred (InvalidAccessKeyId) when calling the PutObject operation: The AWS Access Key Id you provided does not exist in our records.

    - uses: keithweaver/aws-s3-github-action@v1.0.0
      name: Upload Report
      with:
        command: cp
        source: ./target/site/serenity
        destination: s3://usermanagement-serenity-report-${{vars.ENV}}
        aws_access_key_id: $AWS_ACCESS_KEY_ID
        aws_secret_access_key: $AWS_SECRET_ACCESS_KEY
        aws_session_token: $AWS_SESSION_TOKEN
        aws_region: us-east-1
        flags: --recursive