Skip to content

Commit

Permalink
don't install private fonts on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoow committed Oct 14, 2024
1 parent a214eae commit c87317c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/checkout@v4
- name: Get Core Sans
uses: actions/checkout@v4
if: github.repository_owner == 'mainmatter'
with:
fetch-depth: 0
repository: mainmatter/core-sans-a-fonts
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
path: core-sans-a-fonts
- name: Install Fonts
if: github.repository_owner == 'mainmatter'
run: |
sudo cp -r core-sans-a-fonts/* /usr/local/share/fonts/
sudo fc-cache -f -v
Expand Down

0 comments on commit c87317c

Please sign in to comment.