diff --git a/.github/workflows/develop-cd.yml b/.github/workflows/develop-cd.yml index cd5449bf..f98ce7ee 100644 --- a/.github/workflows/develop-cd.yml +++ b/.github/workflows/develop-cd.yml @@ -53,7 +53,7 @@ jobs: port: 22 username: ${{ secrets.EC2_DEV_INSTANCE_USERNAME }} key: ${{ secrets.EC2_DEV_INSTANCE_PRIVATE_KEY }} - source: "infra/mysql/*, infra/nginx/*, infra/scripts/*.sh, !infra/scripts/deploy-prod.sh, infra/docker-compose-dev.yml" + source: "infra/mysql/*, infra/nginx/*, infra/scripts/*.sh, !infra/scripts/deploy-prod.sh, infra/docker-compose-dev.yml, .env" target: "/home/ubuntu/moabam" - name: 파일 세팅 diff --git a/.github/workflows/prod-cd.yml b/.github/workflows/prod-cd.yml index d00dca7c..036022c6 100644 --- a/.github/workflows/prod-cd.yml +++ b/.github/workflows/prod-cd.yml @@ -53,7 +53,7 @@ jobs: port: 22 username: ${{ secrets.EC2_PROD_INSTANCE_USERNAME }} key: ${{ secrets.EC2_PROD_INSTANCE_PRIVATE_KEY }} - source: "infra/mysql/*, infra/nginx/*, infra/scripts/*.sh, !infra/scripts/deploy-dev.sh, infra/docker-compose-prod.yml" + source: "infra/mysql/*, infra/nginx/*, infra/scripts/*.sh, !infra/scripts/deploy-dev.sh, infra/docker-compose-prod.yml, .env" target: "/home/ubuntu/moabam" - name: 파일 세팅