Skip to content

Commit

Permalink
fix mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed Oct 23, 2024
1 parent bcb3045 commit d15cb19
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- "docs/**"
- "types/**"
- "mkdocs.yml"
workflow_dispatch:

permissions:
id-token: write
Expand All @@ -19,19 +20,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Install MD-Models
run: cargo install --path .

- name: Run the generation pipeline
run: sh .github/scripts/generate_types.sh

- name: "Update docs"
shell: "bash"
run: |
Expand All @@ -44,15 +41,16 @@ jobs:
else
echo "Nothing changed!"
fi
- uses: actions/setup-python@v4
with:
python-version: 3.x

- uses: actions/cache@v2
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
key: ${{ github.ref }}
restore-keys: |
mkdocs-material-
- name: Install dependencies
run: pip install mkdocs-material jupyter nbconvert mkdocs-jupyter
Expand Down

0 comments on commit d15cb19

Please sign in to comment.