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)