Skip to content

Commit 0b81aa6

Browse files
committed
ci: more desperate attempts
1 parent d0175f5 commit 0b81aa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
echo '{"args": ["--no-sandbox"]}' > puppeteer-config.json
8787
cat puppeteer-config.json
8888
89-
npx @mermaid-js/mermaid-cli --version
89+
npm install @mermaid-js/mermaid-cli
9090
9191
- name: ⬇ Checkout OctoPrint
9292
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event.client_payload.ref == format('refs/{0}/{1}', matrix.source, matrix.version)
@@ -111,7 +111,7 @@ jobs:
111111
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event.client_payload.ref == format('refs/{0}/{1}', matrix.source, matrix.version)
112112
run: |
113113
cd ${{ github.workspace }}/docs.octoprint.org/util/versionselector
114-
python versionselector.py ${{ github.workspace }}/OctoPrint/docs/ ${{ matrix.version }} ${{ env.OCTOPRINT_VERSION }} ${{ github.workspace }}/versions.json -D mermaid_cmd="npx @mermaid-js/mermaid-cli -p ${{ github.workspace }}/puppeteer-config.json" -D mermaid_output_format=svg -D mermaid_version=
114+
python versionselector.py ${{ github.workspace }}/OctoPrint/docs/ ${{ matrix.version }} ${{ env.OCTOPRINT_VERSION }} ${{ github.workspace }}/versions.json -D mermaid_cmd=${{ github.workspace }}/node_modules/.bin/mmdc -D mermaid_params="-p ${{ github.workspace }}/puppeteer-config.json" -D mermaid_output_format=svg -D mermaid_version=
115115
echo ".rst-content object[type^='image/']{width: 100%;}" >> ${{ github.workspace }}/OctoPrint/docs/_build/html/${{ matrix.version }}/_static/theme_overrides.css
116116
117117
#- name: 🔎 Run link check

0 commit comments

Comments
 (0)