From a70c0bf3bf246e6e2add4c1e53a4038a59054e2b Mon Sep 17 00:00:00 2001 From: tzafrirhn Date: Sun, 31 Mar 2024 16:56:40 +0300 Subject: [PATCH] Update DeployEcsProd.yml --- .github/workflows/DeployEcsProd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/DeployEcsProd.yml b/.github/workflows/DeployEcsProd.yml index 734a7e41..eec465aa 100644 --- a/.github/workflows/DeployEcsProd.yml +++ b/.github/workflows/DeployEcsProd.yml @@ -63,7 +63,7 @@ jobs: - name: Download older versions run: | - aws s3 sync s3://igpublisher-static-prod ./webroot/core --region eu-west-1 + aws s3 sync s3://igpublisher-static-prod ./webroot/core --region eu-west-1 - name: Build, tag, and push image to Amazon ECR id: build-image @@ -110,4 +110,4 @@ jobs: docker run -d --name backup igpublisher docker cp backup:/var/www/html /tmp/S3 find /tmp/S3 -maxdepth 1 -type f -delete - aws s3 sync /tmp/S3 s3://igpublisher-static-prod --region eu-west-1 + aws s3 sync /tmp/S3 s3://igpublisher-static-prod --region eu-west-1 --exclude "*" --include "*/[0-9]*/*"