aws-s3-github-action icon indicating copy to clipboard operation
aws-s3-github-action copied to clipboard

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

Open LayMui opened this issue 2 years ago • 0 comments

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/[email protected]
      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

LayMui avatar Aug 23 '23 08:08 LayMui