Skip to content

Commit

Permalink
배포
Browse files Browse the repository at this point in the history
  • Loading branch information
rrosiee committed Jul 10, 2024
1 parent cdb2723 commit 51ce8c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 51ce8c5

Please sign in to comment.