Skip to content

Commit

Permalink
change to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcohenhillel committed Oct 23, 2024
1 parent 3fc9385 commit 285ed58
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 285ed58

Please sign in to comment.