From 37bf6d83cc8a08aae7d32aa5be3d3f1e3056921c Mon Sep 17 00:00:00 2001 From: Duncan Ragsdale <88173870+Thistleman@users.noreply.github.com> Date: Thu, 7 Mar 2024 17:51:42 -0800 Subject: [PATCH] tweaking not-working-flows Signed-off-by: Duncan Ragsdale <88173870+Thistleman@users.noreply.github.com> --- .github/workflows/deployapi.yml | 4 ++-- .github/workflows/deployfe.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deployapi.yml b/.github/workflows/deployapi.yml index 826c7cc4..edecaf85 100644 --- a/.github/workflows/deployapi.yml +++ b/.github/workflows/deployapi.yml @@ -49,8 +49,8 @@ jobs: --build-arg admin_password=${{ env.ADP }} \ --build-arg admin_email=${{ env.ADE }} \ --build-arg region=${{ env.AWS_REGION }} \ - --secret id=ak,${{ secrets.AWS_ACCESS_KEY }} \ - --secret id=sak,${{ secrets.AWS_SECRET_ACCESS_KEY }} \ + --secret id=ak,env=${{ secrets.AWS_ACCESS_KEY }} \ + --secret id=sak,env=${{ secrets.AWS_SECRET_ACCESS_KEY }} \ -f Dockerfile.prod . docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG echo "{image}={$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG}" >> $GITHUB_OUTPUT diff --git a/.github/workflows/deployfe.yml b/.github/workflows/deployfe.yml index 2280f385..27e8cd1f 100644 --- a/.github/workflows/deployfe.yml +++ b/.github/workflows/deployfe.yml @@ -69,7 +69,7 @@ jobs: path: /tmp/workspace - name: Deploy to S3 - run: aws s3 sync /tmp/workspace/build/ s3://${{ secrets.FE_S3_URL }} --acl public-read + run: aws s3 sync /tmp/workspace/build/ s3://pv-validation-hub-website --acl public-read - name: Run CF invalidation run: aws cloudfront create-invalidation --distribution-id ${{ secrets.FE_CF_ID }} --paths '/*'