From 7a502f54f0afd27e0147eaaaee0ca3e91b01ad49 Mon Sep 17 00:00:00 2001 From: Eric Bouchut Date: Tue, 29 Oct 2024 21:38:36 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Hot=20Fix=20CORS=20error=20in=20?= =?UTF-8?q?publish=20GH=20action=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ERROR - [mkdocs-exporter.pdf.browser] (error) Pump, CGM, Watch - TrioDocs Access to font at 'https://unpkg.com/mathjax@3.2.2/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff' (redirected from 'https://unpkg.com/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff') from origin 'file://' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c02267fb..c445005e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -56,8 +56,8 @@ jobs: if: steps.playwright.outputs.cache-hit != 'true' run: playwright install --with-deps chromium - - name: Build Website and PDF - run: MKDOCS_EXPORTER_PDF=true mkdocs build + - name: Build Website + run: mkdocs build - name: Push Website to gh-pages Branch uses: JamesIves/github-pages-deploy-action@v4