Skip to content

Commit

Permalink
Merge pull request #68 from lrug/ruby-3
Browse files Browse the repository at this point in the history
Ruby 3
  • Loading branch information
h-lame authored Feb 7, 2024
2 parents 54ebcea + 4496fad commit ccd4bba
Show file tree
Hide file tree
Showing 6 changed files with 222 additions and 209 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/jekyll-github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
#
# From: https://github.com/actions/starter-workflows/blob/main/pages/jekyll.yml
name: Deploy Jekyll site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: [main]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7
3.3
44 changes: 43 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
source "https://rubygems.org"

gem "github-pages"
gem 'jekyll', '~>4.3'
gem 'jekyll-sass-converter' #, '1.5.2'
#gem 'kramdown', '2.3.2'
#gem 'kramdown-parser-gfm', '1.1.0'
gem 'jekyll-commonmark'
gem 'liquid' #, '4.0.4'
gem 'rouge' #, '3.26.0'
gem 'github-pages-health-check' #, '1.17.9'
# gem 'jekyll-redirect-from', '0.16.0'
gem 'jekyll-sitemap' #, '1.4.0'
# gem 'jekyll-feed', '0.15.1'
# gem 'jekyll-gist', '1.5.0'
# gem 'jekyll-paginate', '1.1.0'
# gem 'jekyll-coffeescript', '1.1.1'
gem 'jekyll-seo-tag', '2.8.0'
gem 'jekyll-github-metadata' #, '2.13.0'
# gem 'jekyll-avatar', '0.7.0'
# gem 'jekyll-remote-theme', '0.4.3'
# gem 'jekyll-include-cache', '0.2.1'
gem 'jemoji' #, '0.12.0'
# gem 'jekyll-mentions', '1.6.0'
gem 'jekyll-relative-links' #, '0.6.1'
gem 'jekyll-optional-front-matter' #, '0.3.2'
# gem 'jekyll-readme-index', '0.3.0'
gem 'jekyll-default-layout' #, '0.1.4'
gem 'jekyll-titles-from-headings' #, '0.5.3'
gem 'minima', '2.5.1'
# gem 'jekyll-swiss', '1.0.0'
# gem 'jekyll-theme-primer', '0.6.0'
# gem 'jekyll-theme-architect', '0.2.0'
# gem 'jekyll-theme-cayman', '0.2.0'
# gem 'jekyll-theme-dinky', '0.2.0'
# gem 'jekyll-theme-hacker', '0.2.0'
# gem 'jekyll-theme-leap-day', '0.2.0'
# gem 'jekyll-theme-merlot', '0.2.0'
# gem 'jekyll-theme-midnight', '0.2.0'
# gem 'jekyll-theme-minimal', '0.2.0'
# gem 'jekyll-theme-modernist', '0.2.0'
# gem 'jekyll-theme-slate', '0.2.0'
# gem 'jekyll-theme-tactile', '0.2.0'
# gem 'jekyll-theme-time-machine', '0.2.0'
gem 'google-protobuf'
gem 'rake'
Loading

0 comments on commit ccd4bba

Please sign in to comment.