From 0b4db67d31fee6ca1b460a801040e1b14486e1e6 Mon Sep 17 00:00:00 2001 From: Marco Braak Date: Tue, 7 May 2024 08:39:25 +0200 Subject: [PATCH] Update GitHub actions (#810) * Update github actions in static workflow * Update ruby version * Update jekyll * Build docs for branch test-docs --- .github/workflows/static.yml | 12 ++++++------ docs/.ruby-version | 2 +- docs/Gemfile | 2 +- docs/Gemfile.lock | 31 +++++++++++++++++-------------- 4 files changed, 25 insertions(+), 22 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 01fa69a5..e1d7a7cb 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -2,9 +2,9 @@ name: Deploy static content to Pages on: push: - branches: ["master"] + branches: ["master", "test-docs"] workflow_dispatch: - branches: ["master"] + branches: ["master", "test-docs"] permissions: contents: read @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup ruby uses: ruby/setup-ruby@v1 with: @@ -47,11 +47,11 @@ jobs: working-directory: ./docs run: bundle exec jekyll build - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: './docs/_site' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 diff --git a/docs/.ruby-version b/docs/.ruby-version index b347b11e..351227fc 100644 --- a/docs/.ruby-version +++ b/docs/.ruby-version @@ -1 +1 @@ -3.2.3 +3.2.4 diff --git a/docs/Gemfile b/docs/Gemfile index 822d5df8..a05a5345 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -1,5 +1,5 @@ source "https://rubygems.org" ruby Bundler.root.join('.ruby-version').read -gem "jekyll", "~> 4.3.2" +gem "jekyll", "~> 4.3.3" gem "minima", "~> 2.5" diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index a646f4f1..fbc5232f 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -1,21 +1,22 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.8.5) + addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) colorator (1.1.0) - concurrent-ruby (1.2.2) + concurrent-ruby (1.2.3) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) eventmachine (1.2.7) - ffi (1.15.5) + ffi (1.16.3) forwardable-extended (2.6.0) - google-protobuf (3.24.3-arm64-darwin) + google-protobuf (4.26.1-arm64-darwin) + rake (>= 13) http_parser.rb (0.8.0) - i18n (1.14.1) + i18n (1.14.5) concurrent-ruby (~> 1.0) - jekyll (4.3.2) + jekyll (4.3.3) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) @@ -44,7 +45,7 @@ GEM kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) liquid (4.0.4) - listen (3.8.0) + listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) @@ -54,29 +55,31 @@ GEM jekyll-seo-tag (~> 2.1) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (5.0.3) + public_suffix (5.0.5) + rake (13.2.1) rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) rexml (3.2.6) - rouge (4.1.3) + rouge (4.2.1) safe_yaml (1.0.5) - sass-embedded (1.67.0-arm64-darwin) - google-protobuf (~> 3.23) + sass-embedded (1.77.0-arm64-darwin) + google-protobuf (>= 3.25, < 5.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) - unicode-display_width (2.4.2) + unicode-display_width (2.5.0) webrick (1.8.1) PLATFORMS arm64-darwin-22 + arm64-darwin-23 DEPENDENCIES - jekyll (~> 4.3.2) + jekyll (~> 4.3.3) minima (~> 2.5) RUBY VERSION - ruby 3.2.2p53 + ruby 3.2.4p170 BUNDLED WITH 2.4.10