diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..c44a4cc --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,15 @@ +name: Deploy +on: [push] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Server pull maria config file from remote + uses: appleboy/ssh-action@master + with: + host: "100.114.118.48" + username: "root" + key: ${{ secrets.SSH_PRIVATE_KEY }} + command_timeout: 3h + script: bash /root/maria/script/webhook/blog.sh \ No newline at end of file diff --git a/docs/tech/Install-Material-for-MkDocs.md b/docs/tech/Install-Material-for-MkDocs.md index 4ffaae9..1c234f9 100644 --- a/docs/tech/Install-Material-for-MkDocs.md +++ b/docs/tech/Install-Material-for-MkDocs.md @@ -11,9 +11,9 @@ sudo apt -y install python3 python3-full python3-pip python3.12-venv python3 -m venv # (1) -/pip install --upgrade pip setuptools +/bin/pip install --upgrade pip setuptools -/pip install mkdocs-material +/bin/pip install mkdocs-material ``` 1. 本文所有命令中的 `` 请替换为 MkDocs 安装目录的绝对路径。