diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d67990f..2efa7a5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -44,7 +44,7 @@ jobs: env: EC2_HOST: ubuntu@51.20.135.233 run: | - ssh -i ~/.ssh/deploy_key $EC2_HOST << EOF + ssh -o StrictHostKeyChecking=no -i ~/.ssh/deploy_key $EC2_HOST << EOF mkdir -p ~/app && tar -xzf ~/app.tar.gz -C ~/app && cd ~/app npm install --production pm2 stop all || true