diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index c6e177b3..4c17ec37 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -45,7 +45,7 @@ jobs: run: | echo "${{ secrets.EC2_SSH_PRIVATE_KEY }}" > private_key.pem chmod 400 private_key.pem - ssh -i private_key.pem -o StrictHostKeyChecking=no ubuntu@${{ secrets.EC2_PUBLIC_IP }} " + ssh -i private_key.pem -o StrictHostKeyChecking=no ubuntu@ec2-3-34-183-188.ap-northeast-2.compute.amazonaws.com " aws ecr get-login-password --region ap-northeast-2 | sudo docker login --username AWS --password-stdin ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} && if [ \$(sudo docker ps -q -f name=${{ env.IMAGE_NAME }}) ]; then