From 508bee225999492c2e152d4bff8e3e6ed7f3907c Mon Sep 17 00:00:00 2001 From: a-gave Date: Thu, 5 Sep 2024 23:59:10 +0200 Subject: [PATCH] fix: ci deploy, replace plugin github_sample with jekyll-fetch --- Gemfile | 2 +- _config.yml | 4 ++-- docs/configuration/lime-example.txt | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index fcb0ede1..cef178cd 100644 --- a/Gemfile +++ b/Gemfile @@ -10,4 +10,4 @@ group :jekyll_plugins do end gem 'webrick' -gem 'jekyll_github_sample', git: "https://github.com/bwillis/jekyll-github-sample", ref: 'master' +gem "jekyll-fetch", '~> 0.2.1' \ No newline at end of file diff --git a/_config.yml b/_config.yml index 75d1717b..f82b439a 100644 --- a/_config.yml +++ b/_config.yml @@ -45,8 +45,8 @@ defaults: values: layout: "packages" -plugins: - - jekyll_github_sample +plugins: + - jekyll-fetch asciidoctor: attributes: diff --git a/docs/configuration/lime-example.txt b/docs/configuration/lime-example.txt index 1ce41272..f5e3d675 100644 --- a/docs/configuration/lime-example.txt +++ b/docs/configuration/lime-example.txt @@ -7,7 +7,6 @@ no_toc: true https://github.com/libremesh/lime-packages/tree/master/packages/lime-docs/files/www/docs/lime-example.txt[https://github.com/libremesh/lime-packages/master/packages/lime-docs/files/www/docs/lime-example.txt] -[,nginx] ---- -{% github_sample libremesh/lime-packages/master/packages/lime-docs/files/www/docs/lime-example.txt %} +{{ "https://raw.githubusercontent.com/libremesh/lime-packages/master/packages/lime-docs/files/www/docs/lime-example.txt" | fetch }} ----