ci(push): set ssh-keyscan
All checks were successful
push / build (push) Successful in 42s

This commit is contained in:
张泊明518370910136 2024-10-19 06:53:33 -04:00
parent 6c67d0e8b4
commit 49b453f110
GPG Key ID: CA088E6D9284F870

View File

@ -22,6 +22,7 @@ jobs:
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519.pub echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519.pub
chmod 600 ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519.pub chmod 600 ~/.ssh/id_ed25519.pub
ssh-keyscan -p 2222 focs.ji.sjtu.edu.cn >> ~/.ssh/known_hosts
ssh -T git@focs.ji.sjtu.edu.cn -p 2222 ssh -T git@focs.ji.sjtu.edu.cn -p 2222
shell: bash shell: bash
- name: Determine build command - name: Determine build command