From 9df25d09ec347bcc12d9dd0a35b5773add98b043 Mon Sep 17 00:00:00 2001 From: jinzhongjia Date: Thu, 11 Jan 2024 21:39:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新 --- .github/workflows/deploy.yml | 3 ++- .gitignore | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c898937a..465ae1b4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,7 @@ on: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: - contents: read + contents: write pages: write id-token: write @@ -50,3 +50,4 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: page + publish_dir: ./course/.vitepress/dist diff --git a/.gitignore b/.gitignore index 4a31f34e..6ce3f720 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules .vscode course/.vitepress/cache/deps +course/.vitepress/course/.vitepress/dist