From 6759dbd23f2b986f4ad9be50082710017cc08f0e Mon Sep 17 00:00:00 2001 From: texm Date: Tue, 25 Apr 2023 15:44:34 +0800 Subject: [PATCH] again --- .github/workflows/publish-web.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-web.yml b/.github/workflows/publish-web.yml index d81236a..7f4c150 100644 --- a/.github/workflows/publish-web.yml +++ b/.github/workflows/publish-web.yml @@ -19,9 +19,6 @@ concurrency: jobs: build: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./web steps: - uses: actions/checkout@v3 @@ -32,11 +29,11 @@ jobs: node-version: 16 cache: 'npm' cache-dependency-path: 'web/package-lock.json' - - run: npm run build + - run: npm --prefix web run build - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: - path: ./build + path: ./web/build deploy: runs-on: ubuntu-latest