From c11e3e810dc697a28cc63204ea0032b7f54f075c Mon Sep 17 00:00:00 2001 From: Ihor S Date: Wed, 3 Sep 2025 22:04:16 +0200 Subject: [PATCH 1/2] fix --- .github/workflows/deploy-dev.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 19b02ac..3838bdf 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -70,8 +70,7 @@ jobs: "set -e", "cd /var/www/app", "aws s3 cp s3://'"$CODE_BUCKET"'/'"$FILE_NAME"' app.zip --region '"$REGION"'", - "unzip -o app.zip", - "chown -R ec2-user:ec2-user /var/www/app", + "sudo -u ec2-user unzip -o app.zip", "sudo -u ec2-user /usr/local/bin/docker-compose up api postgres redis -d --build", "sleep 15", "sudo -u ec2-user /usr/local/bin/docker-compose exec -T api npm ci", From 0bc3c327d6e766c402239f7a3121a0c4bd91aaf4 Mon Sep 17 00:00:00 2001 From: Ihor S Date: Wed, 3 Sep 2025 22:04:25 +0200 Subject: [PATCH 2/2] ver --- infra/package-lock.json | 4 ++-- infra/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/infra/package-lock.json b/infra/package-lock.json index 7d9e8aa..3bec909 100644 --- a/infra/package-lock.json +++ b/infra/package-lock.json @@ -1,12 +1,12 @@ { "name": "infra", - "version": "0.1.1", + "version": "0.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "infra", - "version": "0.1.1", + "version": "0.1.2", "dependencies": { "aws-cdk-lib": "2.208.0", "constructs": "^10.0.0" diff --git a/infra/package.json b/infra/package.json index a8aa244..0bad5df 100644 --- a/infra/package.json +++ b/infra/package.json @@ -1,6 +1,6 @@ { "name": "infra", - "version": "0.1.1", + "version": "0.1.2", "bin": { "infra": "bin/infra.js" },