From 15f9506a93bf7188fa21988152f2c7c8a54bf2d9 Mon Sep 17 00:00:00 2001 From: Laura Martinez Garcia Date: Wed, 25 Oct 2023 16:16:37 +0200 Subject: [PATCH] refactor aws args --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 74887a11..8133350e 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -25,7 +25,7 @@ jobs: with: aws_role: ${{ secrets.AWS_ROLE_TEST_ACCOUNT }} aws_deploy_path: ${{ secrets.TEST_BUCKET }}/preview/${{ github.event.number }} - aws_s3_sync_args: '--include * --exclude */*' + aws_s3_sync_args: --include '*' --exclude '*/*' cloudfront_distribution_id: ${{ secrets.CLOUDFRONT_ID_TEST }} cloudfront_invalidation_paths: '/preview/${{ github.event.number }}/*' - name: Adding comment to PR with preview link and validation results