File tree 3 files changed +28
-10
lines changed
3 files changed +28
-10
lines changed Original file line number Diff line number Diff line change 5
5
name : Build Jekyll
6
6
runs-on : ubuntu-latest
7
7
steps :
8
- - uses : actions/checkout@v3
9
- - name : Build the site in the jekyll/builder container
8
+ - uses : actions/checkout@v4
9
+ - uses : ruby/setup-ruby@v1
10
+ with :
11
+ ruby-version : ' 3.3'
12
+ - name : Install dependencies
13
+ run : bundle install && bundle exec appraisal install
14
+ - name : Setup Pages
15
+ id : configure-pages
16
+ uses : actions/configure-pages@v5
17
+ - name : Setup CI config
10
18
run : |
11
- export JEKYLL_VERSION=3.8
12
- docker run \
13
- -v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
14
- -e PAGES_REPO_NWO=${{ github.repository }} \
15
- jekyll/builder:$JEKYLL_VERSION /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"
19
+ echo "---" > _config_ci.yml
20
+ echo "baseurl: ${{ steps.configure-pages.outputs.base_path }}" >> _config_ci.yml
21
+ - name : Build site
22
+ env :
23
+ JEKYLL_ENV : production
24
+ run : bundle exec appraisal jekyll build --future --config _config_ci.yml,_config.yml
25
+ - name : Upload artifact
26
+ uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change
1
+ appraise "jekyll-3" do
2
+ gem "jekyll" , "3.9.4"
3
+ end
4
+ appraise "jekyll-4" do
5
+ gem "jekyll" , "4.3.3"
6
+ end
Original file line number Diff line number Diff line change @@ -17,13 +17,14 @@ Gem::Specification.new do |spec|
17
17
"documentation_uri" => "https://github.com/daattali/beautiful-jekyll#readme"
18
18
}
19
19
20
- spec . add_runtime_dependency "jekyll" , "~> 3.9.3"
20
+ spec . add_runtime_dependency "jekyll" , ">= 3.9.3"
21
21
spec . add_runtime_dependency "jekyll-paginate" , "~> 1.1"
22
22
spec . add_runtime_dependency "jekyll-sitemap" , "~> 1.4"
23
23
spec . add_runtime_dependency "kramdown-parser-gfm" , "~> 1.1"
24
- spec . add_runtime_dependency "kramdown" , "~> 2.3.2 "
24
+ spec . add_runtime_dependency "kramdown" , "~> 2.3"
25
25
spec . add_runtime_dependency "webrick" , "~> 1.8"
26
26
27
27
spec . add_development_dependency "bundler" , ">= 1.16"
28
28
spec . add_development_dependency "rake" , "~> 12.0"
29
- end
29
+ spec . add_development_dependency "appraisal" , "~> 2.5"
30
+ end
You can’t perform that action at this time.
0 commit comments