Update.
This commit is contained in:
parent
083c6db2da
commit
987f634f40
1 changed files with 9 additions and 9 deletions
18
.github/workflows/jekyll.yml
vendored
18
.github/workflows/jekyll.yml
vendored
|
|
@ -35,21 +35,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Set up JDK 21
|
|
||||||
uses: actions/setup-java@v3
|
|
||||||
with:
|
|
||||||
java-version: '21'
|
|
||||||
distribution: 'temurin'
|
|
||||||
- name: Setup Ruby
|
- name: Setup Ruby
|
||||||
uses: ruby/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: '3.3' # Not needed with a .ruby-version file
|
ruby-version: '3.3' # Not needed with a .ruby-version file
|
||||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||||
cache-version: 0 # Increment this number if you need to re-download cached gems
|
cache-version: 0 # Increment this number if you need to re-download cached gems
|
||||||
- name: Install graphviz
|
|
||||||
run: sudo apt-get install graphviz
|
|
||||||
- name: Build apidocs
|
|
||||||
run: ./gradlew apidocs
|
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v5
|
uses: actions/configure-pages@v5
|
||||||
|
|
@ -58,6 +49,15 @@ jobs:
|
||||||
run: cd webpages && bundle exec jekyll build
|
run: cd webpages && bundle exec jekyll build
|
||||||
env:
|
env:
|
||||||
JEKYLL_ENV: production
|
JEKYLL_ENV: production
|
||||||
|
- name: Install graphviz
|
||||||
|
run: sudo apt-get install graphviz
|
||||||
|
- name: Set up JDK 21
|
||||||
|
uses: actions/setup-java@v3
|
||||||
|
with:
|
||||||
|
java-version: '21'
|
||||||
|
distribution: 'temurin'
|
||||||
|
- name: Build apidocs
|
||||||
|
run: ./gradlew apidocs
|
||||||
- name: Copy javadoc
|
- name: Copy javadoc
|
||||||
run: cp -a build/javadoc webpages/_site/vm-operator/
|
run: cp -a build/javadoc webpages/_site/vm-operator/
|
||||||
- name: Index pagefind
|
- name: Index pagefind
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue