diff --git a/.github/workflows/mdbook.yml b/.github/workflows/mdbook.yml index eab5b7cb6..3dc3cfb43 100644 --- a/.github/workflows/mdbook.yml +++ b/.github/workflows/mdbook.yml @@ -47,4 +47,6 @@ jobs: - name: Rename book to public_html run: mv book public_html - + - name: scp upload to production site + run: | + sshpass -p ${{ secrets.PROD_PASS }} scp -o 'StrictHostKeyChecking no' -r public_html/ ${{ secrets.PROD_USER }}@${{ secrets.PROD_IP }}:~/ \ No newline at end of file