Skip to content

Commit

Permalink
Update yuque.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Duan-0916 authored Dec 13, 2023
1 parent 1c6b7b4 commit cb7ce6c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/yuque.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ jobs:

- name: Publish to Preview Knowledge Base
run: |
curl -X POST -H "Content-Type: application/json" -d '{
"yuqueNamespace": "eg6z1a/qpbul9",
"yuqueSite": "https://mosn-layotto.yuque.com/"
}' http://localhost:8080/sync
# 设置操作系统为 Ubuntu 20.04
echo "::set-env name=DISTRIBUTION::ubuntu20.04"
# 执行你的自定义脚本文件,例如 publish.sh
# 在脚本中可以通过 $DISTRIBUTION 变量获取操作系统环境
chmod +x publish.sh
./publish.sh

0 comments on commit cb7ce6c

Please sign in to comment.