From 3d0eb847e81a25af48ff9a1b2c52c8c67f8de2b1 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sun, 19 Mar 2023 10:58:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=92=8B=E8=AF=B4=E5=91=A2=EF=BC=8C=E5=87=86?= =?UTF-8?q?=E5=A4=87=E5=8F=91=E4=B8=AArelease=E5=BE=97=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/page.yml | 18 +++++------------- docs/src/update_logs.md | 1 + 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/page.yml b/.github/workflows/page.yml index f891061..11dbeb6 100644 --- a/.github/workflows/page.yml +++ b/.github/workflows/page.yml @@ -45,28 +45,20 @@ jobs: run: | # 设置变量 $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.2/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-i18n', + '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.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.2/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-footnote', + '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' ) - # $temp = 'mdbook' - # # 创建目录 - # if (!(Test-Path -Path $temp -PathType Container)) { - # New-Item -Path $temp -ItemType Directory -Force - # } # 下载文件 foreach ($url in $urls) { Invoke-WebRequest -Uri $url -OutFile "$($url.Split('/')[-1])" } # 将目录路径添加到 $PATH 中 - # $temp >> $env:GITHUB_PATH $PWD >> $env:GITHUB_PATH - echo "$PATH" - ls "$temp" ls $PWD # - name: Setup mdbook-theme latest diff --git a/docs/src/update_logs.md b/docs/src/update_logs.md index 2bd4da1..b8f031d 100644 --- a/docs/src/update_logs.md +++ b/docs/src/update_logs.md @@ -40,6 +40,7 @@ - 新增了 `dsm.py` - 用于将文档部署到服务器 - 同时保证不会丢下一大堆连接不管 + - 应该吧······ - Add `dsm.py` - Used to deploy documents to the server - At the same time, ensure that there will be no connection left