Skip to content

Commit ccd4bba

Browse files
authored
Merge pull request #68 from lrug/ruby-3
Ruby 3
2 parents 54ebcea + 4496fad commit ccd4bba

File tree

6 files changed

+222
-209
lines changed

6 files changed

+222
-209
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
2+
#
3+
# From: https://github.com/actions/starter-workflows/blob/main/pages/jekyll.yml
4+
name: Deploy Jekyll site to Pages
5+
6+
on:
7+
# Runs on pushes targeting the default branch
8+
push:
9+
branches: [main]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
15+
permissions:
16+
contents: read
17+
pages: write
18+
id-token: write
19+
20+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
21+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
22+
concurrency:
23+
group: "pages"
24+
cancel-in-progress: false
25+
26+
jobs:
27+
# Build job
28+
build:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
- name: Setup Ruby
34+
uses: ruby/setup-ruby@v1
35+
with:
36+
bundler-cache: true
37+
cache-version: 0 # Increment this number if you need to re-download cached gems
38+
- name: Setup Pages
39+
id: pages
40+
uses: actions/configure-pages@v4
41+
- name: Build with Jekyll
42+
# Outputs to the './_site' directory by default
43+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
44+
env:
45+
JEKYLL_ENV: production
46+
- name: Upload artifact
47+
# Automatically uploads an artifact from the './_site' directory by default
48+
uses: actions/upload-pages-artifact@v3
49+
50+
# Deployment job
51+
deploy:
52+
environment:
53+
name: github-pages
54+
url: ${{ steps.deployment.outputs.page_url }}
55+
runs-on: ubuntu-latest
56+
needs: build
57+
steps:
58+
- name: Deploy to GitHub Pages
59+
id: deployment
60+
uses: actions/deploy-pages@v4

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7
1+
3.3

Gemfile

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
11
source "https://rubygems.org"
22

3-
gem "github-pages"
3+
gem 'jekyll', '~>4.3'
4+
gem 'jekyll-sass-converter' #, '1.5.2'
5+
#gem 'kramdown', '2.3.2'
6+
#gem 'kramdown-parser-gfm', '1.1.0'
7+
gem 'jekyll-commonmark'
8+
gem 'liquid' #, '4.0.4'
9+
gem 'rouge' #, '3.26.0'
10+
gem 'github-pages-health-check' #, '1.17.9'
11+
# gem 'jekyll-redirect-from', '0.16.0'
12+
gem 'jekyll-sitemap' #, '1.4.0'
13+
# gem 'jekyll-feed', '0.15.1'
14+
# gem 'jekyll-gist', '1.5.0'
15+
# gem 'jekyll-paginate', '1.1.0'
16+
# gem 'jekyll-coffeescript', '1.1.1'
17+
gem 'jekyll-seo-tag', '2.8.0'
18+
gem 'jekyll-github-metadata' #, '2.13.0'
19+
# gem 'jekyll-avatar', '0.7.0'
20+
# gem 'jekyll-remote-theme', '0.4.3'
21+
# gem 'jekyll-include-cache', '0.2.1'
22+
gem 'jemoji' #, '0.12.0'
23+
# gem 'jekyll-mentions', '1.6.0'
24+
gem 'jekyll-relative-links' #, '0.6.1'
25+
gem 'jekyll-optional-front-matter' #, '0.3.2'
26+
# gem 'jekyll-readme-index', '0.3.0'
27+
gem 'jekyll-default-layout' #, '0.1.4'
28+
gem 'jekyll-titles-from-headings' #, '0.5.3'
29+
gem 'minima', '2.5.1'
30+
# gem 'jekyll-swiss', '1.0.0'
31+
# gem 'jekyll-theme-primer', '0.6.0'
32+
# gem 'jekyll-theme-architect', '0.2.0'
33+
# gem 'jekyll-theme-cayman', '0.2.0'
34+
# gem 'jekyll-theme-dinky', '0.2.0'
35+
# gem 'jekyll-theme-hacker', '0.2.0'
36+
# gem 'jekyll-theme-leap-day', '0.2.0'
37+
# gem 'jekyll-theme-merlot', '0.2.0'
38+
# gem 'jekyll-theme-midnight', '0.2.0'
39+
# gem 'jekyll-theme-minimal', '0.2.0'
40+
# gem 'jekyll-theme-modernist', '0.2.0'
41+
# gem 'jekyll-theme-slate', '0.2.0'
42+
# gem 'jekyll-theme-tactile', '0.2.0'
43+
# gem 'jekyll-theme-time-machine', '0.2.0'
44+
gem 'google-protobuf'
45+
gem 'rake'

0 commit comments

Comments
 (0)