From 1e8079f0da840809e73d4665be965466b76880fb Mon Sep 17 00:00:00 2001 From: gzrjzcx <852127277@qq.com> Date: Fri, 7 Jun 2024 14:59:58 +0800 Subject: [PATCH] - github action ci; --- .github/workflows/pages.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 9eaeaf7..3201020 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -8,6 +8,9 @@ on: jobs: build: runs-on: ubuntu-latest + defaults: + run: + working-directory: ./blog steps: - uses: actions/checkout@v4 with: @@ -23,7 +26,7 @@ jobs: - name: Cache NPM dependencies uses: actions/cache@v4 with: - path: blog/node_modules + path: node_modules key: ${{ runner.OS }}-npm-cache restore-keys: | ${{ runner.OS }}-npm-cache