File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- pull_request :
8- branches :
9- - main
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ concurrency :
14+ group : " pages"
15+ cancel-in-progress : false
1016
1117jobs :
12- github-pages :
18+ build :
1319 runs-on : ubuntu-latest
1420 steps :
1521 - name : Checkout
1622 uses : actions/checkout@v4
17-
18- - name : Setup Jekyll
19- uses : helaili/jekyll-action@v2
23+
24+ - name : Setup Ruby
25+ uses : ruby/setup-ruby@v1
2026 with :
21- token : ${{ secrets.GITHUB_TOKEN }}
22- target_branch : gh-pages
27+ ruby-version : ' 3.1'
28+ bundler-cache : true
29+
30+ - name : Setup Pages
31+ id : pages
32+ uses : actions/configure-pages@v4
33+
34+ - name : Build with Jekyll
35+ run : bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
36+ env :
37+ JEKYLL_ENV : production
38+
39+ - name : Upload artifact
40+ uses : actions/upload-pages-artifact@v3
41+
42+ deploy :
43+ environment :
44+ name : github-pages
45+ url : ${{ steps.deployment.outputs.page_url }}
46+ runs-on : ubuntu-latest
47+ needs : build
48+ steps :
49+ - name : Deploy to GitHub Pages
50+ id : deployment
51+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 11source 'https://rubygems.org'
22
3- gem 'jekyll' , '~> 4.0 '
4- gem 'jekyll-dash' , '~> 2'
5- gem 'jekyll-feed'
6- gem 'jekyll-sitemap'
3+ gem 'jekyll' , '~> 4.2 '
4+ gem 'jekyll-dash' , '~> 2.0 '
5+ gem 'jekyll-feed' , '~> 0.15'
6+ gem 'jekyll-sitemap' , '~> 1.4'
77
88# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
99# and associated library.
1010platforms :mingw , :x64_mingw , :mswin , :jruby do
11- gem "tzinfo" , "~> 1.2 "
11+ gem "tzinfo" , ">= 1" , "< 3 "
1212 gem "tzinfo-data"
1313end
1414
You can’t perform that action at this time.
0 commit comments