From 75803d261a759faba9bb4ab96b5f5ccdbcc1d109 Mon Sep 17 00:00:00 2001 From: Fu Cheng Date: Mon, 15 Apr 2024 17:53:29 +0800 Subject: [PATCH] ci: update working directory --- .github/workflows/publish-website.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-website.yaml b/.github/workflows/publish-website.yaml index 5992d66..7e8c9fd 100644 --- a/.github/workflows/publish-website.yaml +++ b/.github/workflows/publish-website.yaml @@ -9,6 +9,9 @@ jobs: build: name: Build Docusaurus runs-on: ubuntu-latest + defaults: + run: + working-directory: ./website steps: - uses: actions/checkout@v4 @@ -21,10 +24,8 @@ jobs: - name: Install dependencies run: npm install - working-directory: website - name: Build website run: npm run build - working-directory: website - name: Upload Build Artifact uses: actions/upload-pages-artifact@v3