更新 .gitea/workflows/build.yml
PHengLEI docs build / PHengLEI-docs-build (push) Successful in 1m30s Details

This commit is contained in:
p79813206 2024-08-02 11:00:21 +08:00
parent 2ea80b90ca
commit 098915e014
1 changed files with 8 additions and 0 deletions

View File

@ -25,4 +25,12 @@ jobs:
source: "build/*" source: "build/*"
target: /root/docs.osredm.com/phenglei/ target: /root/docs.osredm.com/phenglei/
rm: true rm: true
- name: restart files server
uses: https://gitlink.org.cn/actions/ssh-action@v1.0.3
with:
host: 123.60.208.28
username: root
password: ${{ secrets.PASSWORD }}
port: 22
script: service nginx restart