diff --git a/.gitea/workflows/push.yaml b/.gitea/workflows/push.yaml index a30355a..0864d11 100644 --- a/.gitea/workflows/push.yaml +++ b/.gitea/workflows/push.yaml @@ -22,6 +22,7 @@ jobs: echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519.pub chmod 600 ~/.ssh/id_ed25519 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 shell: bash - name: Determine build command