File tree Expand file tree Collapse file tree 3 files changed +22
-24
lines changed
Expand file tree Collapse file tree 3 files changed +22
-24
lines changed Original file line number Diff line number Diff line change 77 schedule :
88 - cron : ' 0 0 * * *'
99
10+ permissions :
11+ contents : read
12+ pages : write
13+ id-token : write
14+
1015jobs :
1116 build-and-deploy :
1217 runs-on : ubuntu-latest
1318 steps :
14- - uses : actions/checkout@v2
15- - name : Install JDK 11
16- uses : AdoptOpenJDK/install-jdk@v1
19+ - uses : actions/checkout@v4
20+ - uses : actions/setup-java@v4
1721 with :
18- version : 11
22+ distribution : ' temurin'
23+ java-version : ' 11'
1924 - name : Run builds
2025 run : ./.run.builds.sh
2126 - name : Setup Ruby
22- uses : actions/setup-ruby@v1
23- with :
24- ruby-version : ' 2.6'
25- - uses : actions/checkout@v2
27+ uses : ruby/setup-ruby@v1
2628 with :
27- ref : " gh-pages"
28- path : " _gh_pages"
29+ ruby-version : ' 3.2.1'
2930 - name : Run Jekyll and deploy
3031 run : ./.run.jekyll.sh
32+ - name : Setup Pages
33+ uses : actions/configure-pages@v3
34+ - name : Upload GitHub Pages artifact
35+ uses : actions/upload-pages-artifact@v3
36+ with :
37+ path : ./_site/
38+ - name : Deploy to GitHub Pages
39+ id : deployment
40+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -6,16 +6,4 @@ gem install bundler
66bundle install
77bundle exec jekyll build
88
9- echo " ⚙️ Copying the files"
10- rm -rf _gh_pages/*
11- cp -R _site/* _gh_pages/
12-
13- echo " 🚀 Commit and push"
14- cd _gh_pages || exit
15- git config --global user.email " howtos@vertx.io"
16- git config --global user.name " Vert.x howtos"
17- git add -A
18- git commit -m " Deploy the how-to pages"
19- git push origin gh-pages
20-
219echo " ✅ Done"
Original file line number Diff line number Diff line change 11source "https://rubygems.org"
22
3- gem "jekyll" , "~> 3.8.5"
3+ gem "jekyll" , "~> 3"
4+ gem "webrick"
45
56group :jekyll_plugins do
6- gem 'asciidoctor'
77 gem 'jekyll-asciidoc'
88end
99
You can’t perform that action at this time.
0 commit comments