Skip to content

Commit

Permalink
추가
Browse files Browse the repository at this point in the history
  • Loading branch information
rrosiee committed Jul 9, 2024
1 parent 99aa057 commit 1db85c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
echo "${{ secrets.EC2_SSH_KEY }}" > key.pem
chmod 600 key.pem
ssh -o StrictHostKeyChecking=no -i key.pem -t ec2-user@${{ secrets.EC2_INSTANCE_IP }} << 'EOF'
sudo docker pull public.ecr.aws/h7p2f6d8/ticats_ai:latest
sudo docker-compose down
sudo docker-compose up -d
docker pull public.ecr.aws/h7p2f6d8/ticats_ai:latest
docker-compose down
docker-compose up -d
EOF
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
Expand Down

0 comments on commit 1db85c5

Please sign in to comment.