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 1c3c1b4 commit c005935
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:
key: ${{ secrets.EC2_SSH_KEY }}
port: 22
script: |
export DATABASE_URL=${{ secrets.DATABASE_URL }}
sudo docker stop ticats_ai || true
sudo docker rm ticats_ai || true
sudo docker image rm public.ecr.aws/h7p2f6d8/ticats_ai:latest || true
docker pull public.ecr.aws/h7p2f6d8/ticats_ai:latest
echo ls
docker-compose down
docker-compose up -d
sudo docker run -d -p 8000:8000 --name ticats -e${{ secrets.DATABASE_URL }} public.ecr.aws/h7p2f6d8/ticats_ai:latest
# Step 5: Build and push Docker image to Amazon ECR
- name: Build and push Docker image
Expand Down

0 comments on commit c005935

Please sign in to comment.