From a9fbb10e38a0498330e2d45a45942f06428441b8 Mon Sep 17 00:00:00 2001 From: Alexandre Henrique Afonso Campos Date: Wed, 26 Jun 2024 23:34:10 -0300 Subject: [PATCH] Add missing s3 marker in deployment script (#111) --- .github/workflows/frontdeploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/frontdeploy.yaml b/.github/workflows/frontdeploy.yaml index 02374b5..8b7c6a0 100644 --- a/.github/workflows/frontdeploy.yaml +++ b/.github/workflows/frontdeploy.yaml @@ -45,5 +45,5 @@ jobs: export AWS_DEFAULT_REGION=${{ secrets.AWS_DEFAULT_REGION }} aws configure set preview.cloudfront true - aws s3 sync dist ${{ secrets.AWS_S3_BUCKET }} --delete + aws s3 sync dist s3://${{ secrets.AWS_S3_BUCKET }} --delete aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} --paths /\*