From c32b68f61a15967ca53aee22d6cbb76a177da2aa Mon Sep 17 00:00:00 2001 From: wjddn2165 Date: Tue, 30 Jul 2024 18:34:40 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20MySQL=20=EC=97=B0=EA=B2=B0=20=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 894c01c4..c4c8a0ba 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -62,5 +62,11 @@ jobs: key: ${{ secrets.EC2_SECRET }} script: | cd /home/ubuntu/spring-boot + echo "SPRING_DATASOURCE_URL=${{ secrets.SPRING_DATASOURCE_URL }}" > .env + echo "SPRING_DATASOURCE_USERNAME=${{ secrets.SPRING_DATASOURCE_USERNAME }}" >> .env + echo "SPRING_DATASOURCE_PASSWORD=${{ secrets.SPRING_DATASOURCE_PASSWORD }}" >> .env + echo "SPRING_JPA_HIBERNATE_DDL_AUTO=update" >> .env + echo "SPRING_REDIS_HOST=redis" >> .env + echo "SPRING_REDIS_PORT=6379" >> .env docker-compose pull docker-compose up -d