Skip to content

Commit 615f629

Browse files
authored
Merge pull request #262 from pusewicz/redesign
RFC: Complete redesign of mruby.org — new visual identity, Jekyll 4, automated data pipeline, and CI-driven deployment
2 parents ce051ff + 6f7a93f commit 615f629

File tree

186 files changed

+4012
-92414
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

186 files changed

+4012
-92414
lines changed

.github/workflows/pages.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Pages
2+
3+
on:
4+
push:
5+
branches: [master]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
if: github.repository == 'mruby/mruby.github.io'
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
25+
- name: Set up Ruby
26+
uses: ruby/setup-ruby@v1
27+
with:
28+
ruby-version: .ruby-version
29+
bundler-cache: true
30+
31+
- name: Configure GitHub Pages
32+
uses: actions/configure-pages@v5
33+
34+
- name: Generate and build
35+
run: bundle exec rake build
36+
env:
37+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
JEKYLL_ENV: production
39+
40+
- name: Upload artifact
41+
uses: actions/upload-pages-artifact@v3
42+
43+
deploy:
44+
if: github.repository == 'mruby/mruby.github.io'
45+
environment:
46+
name: github-pages
47+
url: ${{ steps.deployment.outputs.page_url }}
48+
runs-on: ubuntu-latest
49+
needs: build
50+
steps:
51+
- name: Deploy to GitHub Pages
52+
id: deployment
53+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
_site
22
mruby
3+
/docs/api/
34
/.bundle/
45
/vendor/
6+
.worktrees

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.0.1

Gemfile

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
source 'https://rubygems.org'
22

3-
gem 'github-pages', group: :jekyll_plugins
4-
5-
group :jekyll_plugins do
6-
gem 'jekyll-avatar', '~> 0.8.0'
7-
gem 'jekyll-feed'
8-
gem 'jekyll-sitemap'
9-
end
10-
11-
group :scripts do
12-
gem 'mgem'
13-
gem 'git'
14-
15-
# API Docs
16-
gem 'yard-mruby'
17-
gem 'yard-coderay'
18-
end
3+
gem 'irb'
4+
gem 'jekyll'
5+
gem 'jekyll-avatar'
6+
gem 'jekyll-feed'
7+
gem 'jekyll-sitemap'
8+
gem 'mgem'
9+
gem 'rake'
10+
gem 'yard-coderay'
11+
gem 'yard-mruby'

0 commit comments

Comments
 (0)