Skip to content

Commit 53cab16

Browse files
committed
don't install private fonts on forks
1 parent a899ece commit 53cab16

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,16 @@ jobs:
1515
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
18-
- uses: actions/checkout@v4
18+
- name: Get Core Sans
19+
uses: actions/checkout@v4
20+
if: github.event.repository.fork == false
1921
with:
2022
fetch-depth: 0
2123
repository: mainmatter/core-sans-a-fonts
2224
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
2325
path: core-sans-a-fonts
2426
- name: Install Fonts
27+
if: github.event.repository.fork == false
2528
run: |
2629
sudo cp -r core-sans-a-fonts/* /usr/local/share/fonts/
2730
sudo fc-cache -f -v

0 commit comments

Comments
 (0)