From 3870c9176656b1e6fbde82d526b56d7a4eaa84eb Mon Sep 17 00:00:00 2001 From: jamesbeedy Date: Thu, 25 Jan 2024 21:15:24 +0000 Subject: [PATCH] manually install awscli and run aws s3 sync --- .github/workflows/build-and-publish-image.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-publish-image.yaml b/.github/workflows/build-and-publish-image.yaml index d28eba9..374d14f 100644 --- a/.github/workflows/build-and-publish-image.yaml +++ b/.github/workflows/build-and-publish-image.yaml @@ -38,11 +38,11 @@ jobs: - name: Setup AWS CLI env: - AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID - AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY - AWS_DEFAULT_REGION=us-east-1 + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + AWS_DEFAULT_REGION: us-east-1 run: | - sudo apt install awscli + sudo apt install awscli -y aws s3 sync democluster/final \ s3://omnivector-public-assets/cloud-images/democluster/latest \ --acl public-read --follow-symlinks --delete