Skip to content

Commit 2fed74a

Browse files
committed
fix: use correct GitHub repository URL for Plus Jakarta Sans font
Switch from broken Google Fonts download URL to the official tokotype/PlusJakartaSans GitHub repository master branch
1 parent 304c549 commit 2fed74a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ jobs:
4444
# Install Inter font from apt
4545
sudo apt-get install -y fonts-inter fonts-inter-variable
4646
47-
# Download and install Plus Jakarta Sans from Google Fonts
48-
wget -O Plus_Jakarta_Sans.zip "https://fonts.google.com/download?family=Plus%20Jakarta%20Sans"
47+
# Download and install Plus Jakarta Sans from official GitHub repository
48+
wget -q https://github.com/tokotype/PlusJakartaSans/archive/refs/heads/master.zip -O PlusJakartaSans.zip
49+
unzip -q PlusJakartaSans.zip
4950
sudo mkdir -p /usr/share/fonts/truetype/plus-jakarta-sans
50-
sudo unzip -d /usr/share/fonts/truetype/plus-jakarta-sans/ Plus_Jakarta_Sans.zip
51-
rm Plus_Jakarta_Sans.zip
51+
sudo cp PlusJakartaSans-master/fonts/ttf/*.ttf /usr/share/fonts/truetype/plus-jakarta-sans/
52+
rm -rf PlusJakartaSans.zip PlusJakartaSans-master
5253
5354
# Update font cache
5455
sudo fc-cache -fv

0 commit comments

Comments
 (0)