Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ jobs:
asset="$RUNNER_TEMP/DeepSeek-Harness-实战指南.pdf"
cp "release/DeepSeek Harness 实战指南.pdf" "$asset"

if ! gh release view latest >/dev/null 2>&1; then
gh release create latest \
if gh release view latest-pdf >/dev/null 2>&1; then
gh release upload latest-pdf "$asset" --clobber
else
gh release create latest-pdf "$asset" \
--target "$GITHUB_SHA" \
--title "最新版(持续更新)" \
--notes "由 main 分支自动构建,附件会随书稿更新。" \
--prerelease
fi

gh release upload latest "$asset" --clobber
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>

<div align="center">
<a href="https://github.com/Prism-Shadow/deepseek-harness-book/releases/download/latest/DeepSeek-Harness-实战指南.pdf">下载最新版 PDF</a>
<a href="https://github.com/Prism-Shadow/deepseek-harness-book/releases/download/latest-pdf/DeepSeek-Harness-实战指南.pdf">下载最新版 PDF</a>
|
<a href="https://dshbook.penguin.ooo/">在线阅读</a>
</div>
Expand Down Expand Up @@ -91,7 +91,7 @@ mkdocs serve

## 🔗 相关链接

- [下载最新版 PDF](https://github.com/Prism-Shadow/deepseek-harness-book/releases/download/latest/DeepSeek-Harness-实战指南.pdf)
- [下载最新版 PDF](https://github.com/Prism-Shadow/deepseek-harness-book/releases/download/latest-pdf/DeepSeek-Harness-实战指南.pdf)
- [本书在线阅读](https://dshbook.penguin.ooo/)
- [DeepSeek Harness 官方介绍](https://www.deepseek.com/harness/)
- [DeepSeek Harness 官方源码](https://github.com/deepseek-ai/deepseek-harness)
Loading