deploy action v1000000
This commit is contained in:
@@ -64,12 +64,12 @@ jobs:
|
||||
chmod 600 ~/.ssh/deploy_key
|
||||
|
||||
# Pre-accept the host key so SSH doesn't hang waiting for input
|
||||
ssh-keyscan -p ${{ secrets.DEPLOY_PORT }} ${{ secrets.DEPLOY_HOST }} >> ~/.ssh/known_hosts 2>/dev/null
|
||||
|
||||
|
||||
# SSH in and run the redeploy script
|
||||
ssh -i ~/.ssh/deploy_key \
|
||||
-p ${{ secrets.DEPLOY_PORT }} \
|
||||
-o StrictHostKeyChecking=yes \
|
||||
-o StrictHostKeyChecking=no \
|
||||
${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }} \
|
||||
"bash /opt/etc-prs/app/scripts/redeploy.sh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user