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 f95b097
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/google.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
pull_request:

jobs:
prepare:
Expand Down Expand Up @@ -32,8 +33,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 2

- uses: EndBug/add-and-commit@v7
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/metanorma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: metanorma
on:
push:
branches: [ master, v2, v3 ]
pull_request:
# pull_request:

jobs:
prepare:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: test
on:
push:
branches: [ 'v[0-9]+' ]
pull_request:
# pull_request:

jobs:
test:
Expand Down
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
source "https://rubygems.org"

gem "fontist"
# gem "fontist", path: "~/ribose/fontist"
gem "fontist", github: "fontist/fontist", branch: "google-update"
# gem "fontist", github: "fontist/fontist"
gem "rubocop", "1.5.2"
gem "rubocop-performance"
gem "rubocop-rails"

0 comments on commit f95b097

Please sign in to comment.