From a8e7e9dc17fc0a43516c8fa56667b11a400d554a Mon Sep 17 00:00:00 2001 From: zhanglun Date: Thu, 14 Sep 2023 08:59:43 +0800 Subject: [PATCH] Update deploy-doc.yml --- .github/workflows/deploy-doc.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-doc.yml b/.github/workflows/deploy-doc.yml index 07dfa20a4..a2bf64746 100644 --- a/.github/workflows/deploy-doc.yml +++ b/.github/workflows/deploy-doc.yml @@ -20,14 +20,12 @@ jobs: steps: - name: Checkout your repository using git uses: actions/checkout@v3 - - name: Go to Docs - run: cd ./docs - name: Install, build, and upload your site uses: withastro/action@v0 - # with: - # path: . # The root location of your Astro project inside the repository. (optional) - # node-version: 16 # The specific version of Node that should be used to build your site. Defaults to 16. (optional) - # package-manager: yarn # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional) + with: + path: ./docs # The root location of your Astro project inside the repository. (optional) + node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 16. (optional) + package-manager: pnpm # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional) deploy: needs: build