From 285ed586a2f6bbfe070950b2ff2fbdcd03c32fb6 Mon Sep 17 00:00:00 2001 From: Adam Cohen Hillel Date: Tue, 22 Oct 2024 19:54:39 -0700 Subject: [PATCH] change to npm --- .github/workflows/deploy_docs.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 891a6c2a4..5d193e844 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -34,24 +34,24 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - name: Change to docs directory + run: cd docs - name: Set up Node.js uses: actions/setup-node@v3 with: node-version: 16.x - cache: yarn - cache-dependency-path: docs/yarn.lock + cache: npm - name: Install dependencies - working-directory: ./docs - run: yarn install --frozen-lockfile --non-interactive + run: npm ci - name: Build - working-directory: ./docs - run: yarn build + run: npm run build - name: Setup Pages uses: actions/configure-pages@v3 - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: - path: docs/build + # Upload entire repository + path: build - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v2 \ No newline at end of file