diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index e165517..95c2549 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -19,7 +19,7 @@ jobs: mkdir -p ~/.ssh echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519 - ssh-keyscan ${{ secrets.DEPLOY_PORT }} -H ${{ secrets.DEPLOY_SERVER }} >> ~/.ssh/known_hosts + ssh-keyscan -p ${{ secrets.DEPLOY_PORT }} -H ${{ secrets.DEPLOY_SERVER }} >> ~/.ssh/known_hosts eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_ed25519