Skip to content

Commit

Permalink
If inside github actions fix opendyslexic font
Browse files Browse the repository at this point in the history
Signed-off-by: Marcello Seri <[email protected]>
  • Loading branch information
mseri committed Sep 5, 2024
1 parent 7fd3799 commit 3757c61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compile.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/env bash

if [ -n "$CI" ] || [ -n "$GITHUB_RUN_ID" ]; then
sudo rm -rf /usr/share/fonts/woff/opendyslexic
fi
lualatex --interaction=nonstopmode hm.tex
bibtex hm
makeindex hm
Expand Down

0 comments on commit 3757c61

Please sign in to comment.