Skip to content

Commit

Permalink
Use fontist which import formulas in batches and specify read timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeymorozov committed Dec 21, 2023
1 parent 5b47a08 commit be06ca6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/google.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ jobs:
path: "~/.fontist/google/fonts"
key: key2

- name: Setup fontist config
run: bundle exec fontist config set read_timeout 60

- name: Import new fonts
run: bundle exec fontist import google --formulas_path Formulas
run: bundle exec fontist import google --formulas_path Formulas -n 50

- uses: EndBug/add-and-commit@v7
with:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source "https://rubygems.org"

gem "fontist"
gem "fontist", github: "fontist/fontist", branch: "main"
gem "rubocop", "1.5.2"
gem "rubocop-performance"
gem "rubocop-rails"

0 comments on commit be06ca6

Please sign in to comment.