Skip to content

Commit

Permalink
Downgrade mdbook-combiner and generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Jun 6, 2024
1 parent c385055 commit 7e95c6a
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy documentation

on:
push:
branches: [develop]
branches: [florianduros/ci/update-mdbook]
workflow_dispatch: {}

permissions:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
mdbook-version: "0.4.10"

- name: Install mdbook extensions
run: cargo install mdbook-combiner mdbook-mermaid
run: cargo install mdbook-combiner@0.1.15 mdbook-mermaid

- name: Prepare docs
run: |
Expand Down Expand Up @@ -98,18 +98,18 @@ jobs:
- name: Build docs
run: mdbook build

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./book

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
# - name: Upload artifact
# uses: actions/upload-pages-artifact@v3
# with:
# path: ./book

# deploy:
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
# runs-on: ubuntu-latest
# needs: build
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v4

0 comments on commit 7e95c6a

Please sign in to comment.