Skip to content

Commit

Permalink
πŸ’š Hot Fix CORS error in publish GH action workflow
Browse files Browse the repository at this point in the history
ERROR   -  [mkdocs-exporter.pdf.browser] (error) Pump, CGM, Watch - TrioDocs

Access to font at 'https://unpkg.com/[email protected]/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.
  • Loading branch information
ebouchut committed Oct 29, 2024
1 parent b2fdbd6 commit 7a502f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a502f5

Please sign in to comment.