Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: added step to install node #321

Merged
merged 3 commits into from
Dec 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,24 @@ on:
workflow_dispatch:

jobs:
docs:
generate-docs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node 20
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run generate-docs

publish-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -20,4 +37,4 @@ jobs:
- run: pip install --upgrade pip && pip install mkdocs mkdocs-material mkdocs-material-extensions
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Re-generate and Publish docs
run: npm run generate-docs && mkdocs gh-deploy
run: mkdocs gh-deploy
Loading