Update deploy-docs.yml

This commit is contained in:
Whale 2021-03-02 14:22:40 +08:00 committed by GitHub
parent 8740c3c255
commit 455fc79818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,5 +13,6 @@ jobs:
with:
python-version: 3.x
key: ${{ secrets.VPS_SSH }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- run: pip install mkdocs-material
- run: mkdocs build -d distribute && cd distribute/ && ssh root@139.199.77.130 rm -rf /var/www/docs_v2/\* && scp -r ./* root@139.199.77.130:/var/www/docs_v2/