Skip to content

Commit 3e61d35

Browse files
committed
Fix for latest version
1 parent 40cb53b commit 3e61d35

5 files changed

Lines changed: 18 additions & 44 deletions

File tree

.github/workflows/github-pages.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,17 @@ jobs:
1515
steps:
1616
- name: 📂 setup
1717
uses: actions/checkout@v6
18+
1819
- name: 💎 setup ruby
19-
uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
20+
uses: ruby/setup-ruby@v1.310.0
2021
with:
2122
ruby-version: 3.3
23+
2224
- name: 🔨 install dependencies & build site
23-
uses: limjh16/jekyll-action-ts@807a5f09755d777bfd3070e9505d02347844c9b2 # v2.4.2
25+
uses: limjh16/jekyll-action-ts@v2
26+
2427
- name: 🚀 deploy
25-
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
28+
uses: peaceiris/actions-gh-pages@v4
2629
with:
2730
github_token: ${{ secrets.GITHUB_TOKEN }}
2831
publish_dir: ./_site

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@ source 'https://rubygems.org'
22
gem "jekyll"
33
gem "json"
44
gem "hash-joiner"
5+
6+
group :jekyll_plugins do
7+
gem "jekyll-get-json", "~> 1.0"
8+
end

Gemfile.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ GEM
88
colorator (1.1.0)
99
concurrent-ruby (1.3.6)
1010
csv (3.3.5)
11+
deep_merge (1.2.2)
1112
em-websocket (0.5.3)
1213
eventmachine (>= 0.12.9)
1314
http_parser.rb (~> 0)
@@ -41,6 +42,9 @@ GEM
4142
safe_yaml (~> 1.0)
4243
terminal-table (>= 1.8, < 4.0)
4344
webrick (~> 1.7)
45+
jekyll-get-json (1.0.0)
46+
deep_merge (~> 1.2)
47+
jekyll (>= 3.0)
4448
jekyll-sass-converter (3.1.0)
4549
sass-embedded (~> 1.75)
4650
jekyll-watch (2.2.1)
@@ -81,6 +85,7 @@ PLATFORMS
8185
DEPENDENCIES
8286
hash-joiner
8387
jekyll
88+
jekyll-get-json (~> 1.0)
8489
json
8590

8691
BUNDLED WITH

_config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ url: "https://simplesamlphp.org"
88
twitter_username: simplesamlphp
99
github_username: simplesamlphp
1010
plugins_dir: ./_plugins
11+
plugins:
12+
- jekyll-get-json
1113

1214
# Build settings
1315
markdown: kramdown
1416

15-
jekyll_get:
17+
jekyll_get_json:
1618
- data: latest
1719
json: 'https://api.github.com/repos/simplesamlphp/simplesamlphp/releases/latest'
1820
cache: false

_plugins/jekyll_get.rb

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)