Skip to content

Commit

Permalink
Update DeployEcsProd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tzafrirhn authored Apr 4, 2024
1 parent 40bb17a commit 4b03560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/DeployEcsProd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:

- name: Download older versions
run: |
aws s3 sync s3://igpublisher-static-prod ./webroot --region il-central-1
aws s3 sync s3://igpublisher-static-prod ./webroot --region eu-west-1
mv ./webroot/html ./webroot/core
$latest=$(cat package-registry.json | jq '.packages[].latest.version')
echo "Creating latest version folder $latest"
Expand Down Expand Up @@ -105,4 +105,4 @@ jobs:
docker run -d --name backup igpublisher
docker cp backup:/var/www /tmp/S3
find /tmp/S3 -maxdepth 1 -type f -delete
aws s3 sync /tmp/S3 s3://igpublisher-static-prod --region il-central-1
aws s3 sync /tmp/S3 s3://igpublisher-static-prod --region eu-west-1

0 comments on commit 4b03560

Please sign in to comment.