咋说呢,准备发个release得了
This commit is contained in:
parent
6db5c2c344
commit
3d0eb847e8
18
.github/workflows/page.yml
vendored
18
.github/workflows/page.yml
vendored
@ -45,28 +45,20 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
# 设置变量
|
# 设置变量
|
||||||
$urls = @(
|
$urls = @(
|
||||||
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.2/mdbook-i18n',
|
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.3/mdbook-i18n',
|
||||||
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.2/mdbook-theme',
|
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.3/mdbook-theme',
|
||||||
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.2/mdbook-cmdrun',
|
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.3/mdbook-cmdrun',
|
||||||
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.3/mdbook-pagetoc',
|
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.3/mdbook-pagetoc',
|
||||||
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.2/mdbook-footnote',
|
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.3/mdbook-footnote',
|
||||||
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.2/mdbook-external-links',
|
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.3/mdbook-external-links',
|
||||||
'https://github.com/plantuml/plantuml/releases/download/v1.2023.4/plantuml-1.2023.4.jar'
|
'https://github.com/plantuml/plantuml/releases/download/v1.2023.4/plantuml-1.2023.4.jar'
|
||||||
)
|
)
|
||||||
# $temp = 'mdbook'
|
|
||||||
# # 创建目录
|
|
||||||
# if (!(Test-Path -Path $temp -PathType Container)) {
|
|
||||||
# New-Item -Path $temp -ItemType Directory -Force
|
|
||||||
# }
|
|
||||||
# 下载文件
|
# 下载文件
|
||||||
foreach ($url in $urls) {
|
foreach ($url in $urls) {
|
||||||
Invoke-WebRequest -Uri $url -OutFile "$($url.Split('/')[-1])"
|
Invoke-WebRequest -Uri $url -OutFile "$($url.Split('/')[-1])"
|
||||||
}
|
}
|
||||||
# 将目录路径添加到 $PATH 中
|
# 将目录路径添加到 $PATH 中
|
||||||
# $temp >> $env:GITHUB_PATH
|
|
||||||
$PWD >> $env:GITHUB_PATH
|
$PWD >> $env:GITHUB_PATH
|
||||||
echo "$PATH"
|
|
||||||
ls "$temp"
|
|
||||||
ls $PWD
|
ls $PWD
|
||||||
|
|
||||||
# - name: Setup mdbook-theme latest
|
# - name: Setup mdbook-theme latest
|
||||||
|
@ -40,6 +40,7 @@
|
|||||||
- 新增了 `dsm.py`
|
- 新增了 `dsm.py`
|
||||||
- 用于将文档部署到服务器
|
- 用于将文档部署到服务器
|
||||||
- 同时保证不会丢下一大堆连接不管
|
- 同时保证不会丢下一大堆连接不管
|
||||||
|
- 应该吧······
|
||||||
- Add `dsm.py`
|
- Add `dsm.py`
|
||||||
- Used to deploy documents to the server
|
- Used to deploy documents to the server
|
||||||
- At the same time, ensure that there will be no connection left
|
- At the same time, ensure that there will be no connection left
|
||||||
|
Loading…
Reference in New Issue
Block a user