From 042127aa7678e7424476219bb07616ad9ba978ae Mon Sep 17 00:00:00 2001 From: "Eryk K." Date: Sun, 7 Jan 2024 16:51:45 +0100 Subject: [PATCH] fix(docs): Fix Github actions for building Pages website --- .github/workflows/pages.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index cce21f5..a26b709 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -28,12 +28,16 @@ jobs: - name: Setup Pages id: pages uses: actions/configure-pages@v3 + - name: Install NPM packages + run: npm install + working-directory: docs-web - name: Build Docusaurus run: npm run build working-directory: docs-web - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-artifact@v4 with: + name: github-pages path: docs-web/build # Deployment job @@ -42,8 +46,8 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest - needs: builddocs + needs: build-docs steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4