From 7b5d0dc4fe5cdbda0adf3dff5b00cf3b208f8fce Mon Sep 17 00:00:00 2001 From: Jakub Jankiewicz Date: Wed, 14 Feb 2024 16:10:38 +0100 Subject: [PATCH] update gh action --- .github/workflows/docs.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 76e03b75..163a6001 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -11,6 +11,11 @@ on: permissions: contents: write + +defaults: + run: + working-directory: docs + jobs: deploy: name: Build Docusaurus @@ -24,11 +29,9 @@ jobs: cache-dependency-path: docs/package-lock.json - name: Install dependencies - working-directory: ./docs/ run: npm ci - name: Build website - working-directory: ./docs/ run: npm run build - name: Deploy to GitHub Pages