diff --git a/.github/workflows/aws.yml b/.github/workflows/aws.yml index a4995cb6..8911c419 100644 --- a/.github/workflows/aws.yml +++ b/.github/workflows/aws.yml @@ -8,9 +8,11 @@ jobs: steps: - name: Git clone the repository uses: actions/checkout@v3 + - name: configure aws credentials + uses: aws-actions/configure-aws-credentials@v2 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-east-1 - name: List s3 buckets - env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_REGION: us-east-1 run: aws s3 ls