diff --git a/.github/workflows/emscripten-build.yml b/.github/workflows/emscripten-build.yml index de4b8a3..9c21b56 100644 --- a/.github/workflows/emscripten-build.yml +++ b/.github/workflows/emscripten-build.yml @@ -47,10 +47,10 @@ jobs: - name: Upload files to server run: | - # ssh-keyscan -H ${{ secrets.REMOTE_SERVER_ADDR }} >> ~/.ssh/known_hosts ls -Al scp -P ${{ secrets.REMOTE_SERVER_PORT }} -r demo ${{ secrets.REMOTE_SERVER_USER }}@${{ secrets.REMOTE_SERVER_ADDR }}:${{ secrets.REMOTE_SERVER_DIRECTORY }}/ - + env: + SSH_KNOWN_HOSTS: ${{ secrets.REMOTE_SERVER_ADDR }}