Skip to content

Commit

Permalink
Merge pull request #17 from sarvsav/fix-docusaurus
Browse files Browse the repository at this point in the history
Fix docusaurus
  • Loading branch information
sarvsav authored Jun 13, 2024
2 parents 2586124 + 461885a commit bffe41e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-docusaurus.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Deploy to GitHub Pages

on:
workflow_dispatch:
push:
branches:
- main
Expand All @@ -23,9 +24,9 @@ jobs:
- name: Change to docs directory
run: cd docs
- name: Install dependencies
run: yarn install --frozen-lockfile
run: npm ci
- name: Build website
run: yarn build
run: npm run build

- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-docusaurus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn
cache: npm

- name: Change to docs directory
run: cd docs
- name: Install dependencies
run: yarn install --frozen-lockfile
run: npm ci
- name: Test build website
run: cd docs && yarn build
run: npm run build

0 comments on commit bffe41e

Please sign in to comment.