Skip to content

Commit

Permalink
Update GitHub actions (#810)
Browse files Browse the repository at this point in the history
* Update github actions in static workflow

* Update ruby version

* Update jekyll

* Build docs for branch test-docs
  • Loading branch information
mbraak authored May 7, 2024
1 parent 074e3fd commit 0b4db67
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 22 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
2 changes: 1 addition & 1 deletion docs/.ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.3
3.2.4
2 changes: 1 addition & 1 deletion docs/Gemfile
Original file line number Diff line number Diff line change
@@ -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"
31 changes: 17 additions & 14 deletions docs/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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

0 comments on commit 0b4db67

Please sign in to comment.