Skip to content

Jandex 3.1.7 release announcement #121

Jandex 3.1.7 release announcement

Jandex 3.1.7 release announcement #121

Workflow file for this run

name: SmallRye Website
on:
push:
branches:
- develop
paths-ignore:
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
- 'NOTICE'
- 'README*'
pull_request:
branches:
- develop
paths-ignore:
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
- 'NOTICE'
- 'README*'
jobs:
build:
runs-on: ubuntu-latest
services:
kroki:
image: yuzutech/kroki
env:
KROKI_MERMAID_HOST: kroki-mermaid
ports:
- 8000:8000
kroki-mermaid:
image: yuzutech/kroki-mermaid
steps:
- name: checkout
uses: actions/checkout@v2
- name: set up ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- name: generate website
env:
JEKYLL_ENV: production
run: |
mkdir website
bundle install
bundle exec jekyll build --destination website
- name: generate docs
run: |
cd docs
npm i @antora/[email protected] @antora/[email protected] asciidoctor-kroki
./node_modules/@antora/cli/bin/antora antora generate antora-playbook.yml
cd ..
cp -r docs/build/site website/docs
- name: attach website
uses: actions/upload-artifact@v2
with:
name: website
path: website
deploy:
needs: [build]
if: github.event_name == 'push' && github.repository_owner == 'smallrye'
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
with:
ref: main
token: ${{secrets.RELEASE_TOKEN}}
- name: extract website
uses: actions/download-artifact@v2
with:
name: website
- name: push website
run: |
git config --global user.name "SmallRye CI"
git config --global user.email "[email protected]"
git status
git diff
git add -A .
git commit -m "CI: Build and deploy website updates"
git push --force