mirror of
https://github.com/Estom/notes.git
synced 2026-04-07 04:49:26 +08:00
触发博客生成流水线
This commit is contained in:
6
.github/workflows/call_remote_api.yml
vendored
6
.github/workflows/call_remote_api.yml
vendored
@@ -22,7 +22,9 @@ jobs:
|
||||
# pip install -r requirements.txt # 如果有依赖,请替换为实际的依赖安装命令
|
||||
|
||||
- name: Generate files with Python script
|
||||
run: python ./notes/blog/docsify/build_sidebar.py # 替换为你的Python脚本路径
|
||||
run: |
|
||||
root_dir = $(pwd)
|
||||
python ./blog/docsify/build_sidebar.py root_dir # 替换为你的Python脚本路径
|
||||
|
||||
- name: Commit generated files
|
||||
run: |
|
||||
@@ -36,7 +38,7 @@ jobs:
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: main
|
||||
|
||||
|
||||
- name: Call Remote API
|
||||
run: |
|
||||
curl -X GET http://8.141.4.34/#/
|
||||
|
||||
Reference in New Issue
Block a user