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