Skip to content

Commit

Permalink
fix(docs): Fix Github actions for building Pages website
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziwi01 committed Jan 7, 2024
1 parent 1af116d commit 042127a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 042127a

Please sign in to comment.