diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 2a214b7..05ab9f5 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -25,4 +25,12 @@ jobs: source: "build/*" target: /root/docs.osredm.com/phenglei/ 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