diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml index 30881b5..e86dc89 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/jekyll-gh-pages.yml @@ -4,7 +4,7 @@ name: Deploy Jekyll with GitHub Pages dependencies preinstalled on: # Runs on pushes targeting the default branch push: - branches: ["main"] + branches: ["main","feature/graphics"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -28,6 +28,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Set up Docker + uses: actions/setup-docker@v3 + - name: Generate mermaid diagrams + run: | + docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace minlag/mermaid-cli:latest \ + /bin/bash -c "./scripts/render-images.sh" - name: Setup Pages uses: actions/configure-pages@v4 - name: Build with Jekyll