This commit is contained in:
parent
8898b54c1c
commit
fadbada45f
15
.gitea/workflows/deploy.yaml
Normal file
15
.gitea/workflows/deploy.yaml
Normal file
@ -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
|
@ -11,9 +11,9 @@ sudo apt -y install python3 python3-full python3-pip python3.12-venv
|
||||
|
||||
python3 -m venv <path> # (1)
|
||||
|
||||
<path>/pip install --upgrade pip setuptools
|
||||
<path>/bin/pip install --upgrade pip setuptools
|
||||
|
||||
<path>/pip install mkdocs-material
|
||||
<path>/bin/pip install mkdocs-material
|
||||
```
|
||||
|
||||
1. 本文所有命令中的 `<path>` 请替换为 MkDocs 安装目录的绝对路径。
|
||||
|
Loading…
x
Reference in New Issue
Block a user