This commit is contained in:
Заид Омар Медхат 2025-12-25 23:34:43 +05:00
parent 640632ca7e
commit ed7193f2d2

View File

@ -25,7 +25,6 @@ jobs:
mkdir -p ~/.ssh mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" | tr -d '\r' > ~/.ssh/id_rsa echo "${{ secrets.SSH_PRIVATE_KEY }}" | tr -d '\r' > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa
ssh-keyscan -H "${{ secrets.DEPLOY_HOST }}" >> ~/.ssh/known_hosts
- name: Ensure remote directory exists - name: Ensure remote directory exists
run: | run: |