mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-02-07 06:19:04 +00:00
Set cache path for open-uri
This commit is contained in:
parent
f4ffa5e821
commit
5ade8dd120
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
with:
|
||||
key: open-uri-content-cache
|
||||
path: |
|
||||
/tmp/open-uri-*
|
||||
/tmp/open-uri-cache-foodogsquared-website
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
require 'asciidoctor'
|
||||
require 'asciidoctor/extensions'
|
||||
require 'open-uri/cached'
|
||||
|
||||
require_relative 'helpers'
|
||||
|
||||
@ -21,6 +22,8 @@ require_relative 'musicbrainz-link-inline-macro/extension'
|
||||
require_relative 'flathub-link-inline-macro/extension'
|
||||
require_relative 'repology-link-inline-macro/extension'
|
||||
|
||||
OpenURI::Cache.cache_path = '/tmp/open-uri-cache-foodogsquared-website'
|
||||
|
||||
Asciidoctor::Extensions.register do
|
||||
inline_macro ManInlineMacro
|
||||
block ChatBlock if @document.basebackend? 'html'
|
||||
|
Loading…
Reference in New Issue
Block a user