diff --git a/.github/workflows/deploy-docusaurus.yml b/.github/workflows/deploy-docusaurus.yml index a3fd5c2..6278f35 100644 --- a/.github/workflows/deploy-docusaurus.yml +++ b/.github/workflows/deploy-docusaurus.yml @@ -1,6 +1,7 @@ name: Deploy to GitHub Pages on: + workflow_dispatch: push: branches: - main @@ -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 diff --git a/.github/workflows/test-docusaurus.yml b/.github/workflows/test-docusaurus.yml index 654449f..2fc46f4 100644 --- a/.github/workflows/test-docusaurus.yml +++ b/.github/workflows/test-docusaurus.yml @@ -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