File tree Expand file tree Collapse file tree 26 files changed +88
-24
lines changed
Expand file tree Collapse file tree 26 files changed +88
-24
lines changed Original file line number Diff line number Diff line change 7171 with :
7272 bundler-cache : true
7373 - name : update book/${{ matrix.language.lang }}
74+ env :
75+ GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7476 run : |
7577 # this seems to be needed to let `bundle exec` see `vendor/bundle/`
7678 { bundle check || bundle install --frozen; } &&
8587
8688 # commit it all
8789 git add -A external/book &&
90+ if ${{ inputs.force-rebuild == true && 'git diff-index --exit-code HEAD --' || 'false' }}
91+ then
92+ # Force the bundle to be non-empty
93+ git fetch --depth 2 origin ${{ github.ref_name }} &&
94+ git update-ref refs/remotes/origin/${{ github.ref_name }} HEAD^ &&
95+ exit 0
96+ fi &&
8897 git -c user.name=${{ github.actor }} \
8998 -c user.email=${{ github.actor }}@noreply.github.com \
9099 commit -m 'book: update ${{ matrix.language.lang }}' \
Original file line number Diff line number Diff line change @@ -8,3 +8,5 @@ gem "rss"
88gem "asciidoctor" , "~> 2.0.0"
99gem "nokogiri"
1010gem "diffy"
11+
12+ gem "base64" , "~> 0.2.0"
Original file line number Diff line number Diff line change 44 addressable (2.8.7 )
55 public_suffix (>= 2.0.2 , < 7.0 )
66 asciidoctor (2.0.23 )
7+ base64 (0.2.0 )
78 diffy (3.4.3 )
89 faraday (2.12.2 )
910 faraday-net_http (>= 2.0 , < 3.5 )
@@ -58,6 +59,7 @@ PLATFORMS
5859
5960DEPENDENCIES
6061 asciidoctor (~> 2.0.0 )
62+ base64 (~> 0.2.0 )
6163 diffy
6264 faraday-retry
6365 nokogiri
@@ -67,6 +69,7 @@ DEPENDENCIES
6769CHECKSUMS
6870 addressable (2.8.7) sha256=462986537cf3735ab5f3c0f557f14155d778f4b43ea4f485a9deb9c8f7c58232
6971 asciidoctor (2.0.23) sha256=52208807f237dfa0ca29882f8b13d60b820496116ad191cf197ca56f2b7fddf3
72+ base64 (0.2.0) sha256=0f25e9b21a02a0cc0cea8ef92b2041035d39350946e8789c562b2d1a3da01507
7073 diffy (3.4.3) sha256=4264b9e7db00d1cd426fcd32e36565779163cedc2340a95b0e6f025e71f9aaa7
7174 faraday (2.12.2) sha256=157339c25c7b8bcb739f5cf1207cb0cefe8fa1c65027266bcbc34c90c84b9ad6
7275 faraday-net_http (3.4.0) sha256=a1f1e4cd6a2cf21599c8221595e27582d9936819977bbd4089a601f24c64e54a
Original file line number Diff line number Diff line change 99 front_page: true
1010 repository_url: https://github.com/progit2-aze/progit2
1111 sha: 9f5e87d19b622e05fd9f7cc215bcd39c79d5995b
12+ ebook_pdf: https://github.com/progit2-aze/progit2/releases/download/2.1.167/progit_v2.1.167.pdf
13+ ebook_epub: https://github.com/progit2-aze/progit2/releases/download/2.1.167/progit_v2.1.167.epub
1214page_title: Git - Book
1315url: "/book/az/v2.html"
1416aliases:
Original file line number Diff line number Diff line change 99 front_page: true
1010 repository_url: https://github.com/progit/progit2-be
1111 sha: 5d7dee94e8f4f56fc28ef927e7435d869cd312ff
12+ ebook_pdf: https://github.com/progit/progit2-be/releases/download/2.1.2/progit.pdf
13+ ebook_epub: https://github.com/progit/progit2-be/releases/download/2.1.2/progit.epub
1214page_title: Git - Book
1315url: "/book/be/v2.html"
1416aliases:
Original file line number Diff line number Diff line change 99 front_page: true
1010 repository_url: https://github.com/progit/progit2-bg
1111 sha: bad96055d9e17cb562781652a87df1de93ab2c9b
12+ ebook_pdf: https://github.com/progit/progit2-bg/releases/download/2.1.60/progit.pdf
13+ ebook_epub: https://github.com/progit/progit2-bg/releases/download/2.1.60/progit.epub
14+ ebook_mobi: https://github.com/progit/progit2-bg/releases/download/2.1.60/progit.mobi
1215page_title: Git - Book
1316url: "/book/bg/v2.html"
1417aliases:
Original file line number Diff line number Diff line change 99 front_page: true
1010 repository_url: https://github.com/progit/progit2-de
1111 sha: c4f0a32f55f41264c4c72aef9800b3bce306486e
12+ ebook_pdf: https://github.com/progit/progit2-de/releases/download/2.1.293/progit.pdf
13+ ebook_epub: https://github.com/progit/progit2-de/releases/download/2.1.293/progit.epub
1214page_title: Git - Book
1315url: "/book/de/v2.html"
1416aliases:
Original file line number Diff line number Diff line change 1111 sha: 3404a4f5e0c1faab3e89ae93d48663413b31dd8d
1212 ebook_pdf: https://github.com/progit/progit2/releases/download/2.1.443/progit.pdf
1313 ebook_epub: https://github.com/progit/progit2/releases/download/2.1.443/progit.epub
14- ebook_mobi: https://github.com/progit/progit2/releases/download/2.1.443/progit.mobi
1514page_title: Git - Book
1615url: "/book/en/v2.html"
1716aliases:
Original file line number Diff line number Diff line change 99 front_page: true
1010 repository_url: https://github.com/progit/progit2-es
1111 sha: 2264d131f4f6ca028ff4fe88ca60fc8384ee0c3c
12+ ebook_pdf: https://github.com/progit/progit2-es/releases/download/2.1.23/progit.pdf
13+ ebook_epub: https://github.com/progit/progit2-es/releases/download/2.1.23/progit.epub
1214page_title: Git - Book
1315url: "/book/es/v2.html"
1416aliases:
Original file line number Diff line number Diff line change 99 front_page: true
1010 repository_url: https://github.com/progit/progit2-fr
1111 sha: be26909d7508e6b2754965e7e5a75d3e44b81dbc
12+ ebook_pdf: https://github.com/progit/progit2-fr/releases/download/2.1.77/progit.pdf
13+ ebook_epub: https://github.com/progit/progit2-fr/releases/download/2.1.77/progit.epub
1214page_title: Git - Book
1315url: "/book/fr/v2.html"
1416aliases:
You can’t perform that action at this time.
0 commit comments