From 51ce8c5a93255ff50195a6bca22faa96c3eaf8d0 Mon Sep 17 00:00:00 2001 From: gabang2 Date: Wed, 10 Jul 2024 21:04:47 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=B0=ED=8F=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 42a5be2..71c5e10 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,9 +36,12 @@ jobs: key: ${{ secrets.EC2_SSH_KEY }} port: 22 script: | + export DATABASE_URL=${{ secrets.DATABASE_URL }} docker pull public.ecr.aws/h7p2f6d8/ticats_ai:latest docker-compose down docker-compose up -d + env: + DATABASE_URL: ${{ secrets.DATABASE_URL }} # Step 5: Log in to Amazon ECR (Elastic Container Registry) - name: Login to Amazon ECR