From 87608db0403b8124be519409530a56113e6c9377 Mon Sep 17 00:00:00 2001
From: MKStoler1024 <158786854+MKStoler1024@users.noreply.github.com>
Date: Fri, 31 Jan 2025 18:01:38 +0000
Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E9=83=A8=E7=BD=B2?=
=?UTF-8?q?=E6=96=87=E6=A1=A3=E5=B7=A5=E4=BD=9C=E6=B5=81=EF=BC=8C=E7=A7=BB?=
=?UTF-8?q?=E9=99=A4=E6=89=93=E5=8C=85=E5=B7=A5=E4=BB=B6=E6=AD=A5=E9=AA=A4?=
=?UTF-8?q?=E5=B9=B6=E8=B0=83=E6=95=B4=E4=B8=8A=E4=BC=A0=E8=B7=AF=E5=BE=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.github/workflows/deploy-docs.yml | 28 +++-------------------------
src/management/README.md | 4 ++--
2 files changed, 5 insertions(+), 27 deletions(-)
diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml
index ca2c621..748a67b 100644
--- a/.github/workflows/deploy-docs.yml
+++ b/.github/workflows/deploy-docs.yml
@@ -42,26 +42,11 @@ jobs:
pnpm run docs:build
> src/.vuepress/dist/.nojekyll
- - name: 打包工件
- shell: sh
- if: runner.os == 'Linux'
- run: |
- tar \
- --directory "./src/.vuepress/dist/" \
- -cvf "$RUNNER_TEMP/artifact.tar" \
- --exclude=.git \
- --exclude=.github \
- .
- env:
- INPUT_PATH: ./build
-
- name: 上传工件
- uses: actions/upload-artifact@v4
+ uses: actions/upload-pages-artifact@v1
with:
- name: github-pages
- path: ${{ runner.temp }}/artifact.tar
+ path: src/.vuepress/dist
retention-days: 1
- if-no-files-found: error
deploy:
needs: build
@@ -73,13 +58,6 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- - name: 下载工件
- uses: actions/download-artifact@v4
- with:
- name: github-pages
- path: ${{ runner.temp }}
- name: 部署到 GitHub Pages
id: deployment
- uses: actions/deploy-pages@v2
- with:
- artifact_path: ${{ runner.temp }}/artifact.tar
\ No newline at end of file
+ uses: actions/deploy-pages@v2
\ No newline at end of file
diff --git a/src/management/README.md b/src/management/README.md
index 5d86195..735f88c 100644
--- a/src/management/README.md
+++ b/src/management/README.md
@@ -20,12 +20,12 @@ category:
您可以手动编写集控配置文件,并将其托管到静态网站上。
-[🚀入门教程](/examschedule/management-config.md)
+[🚀入门教程](examschedule/management-config.md)
### 集控服务器
-[🚀入门教程](/examcloud/client-identify.md)
+[🚀入门教程](examcloud/client-identify.md)