forked from smallrye/smallrye-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (39 loc) · 1.12 KB
/
website.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Publish the website
on:
workflow_dispatch:
push:
branches:
- "!*"
tags:
- '[0-9]+.[0-9]+.[0-9]+*'
jobs:
publish-website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Checkout code
with:
fetch-depth: 0 # fetch all commits and branches for mike to work properly
- uses: actions/setup-java@v2
name: Set up Java 11
with:
java-version: 11
distribution: temurin
cache: maven
- uses: actions/setup-python@v2
name: Set up Python
with:
python-version: 3.x
- name: Tools setup
run: |
git config --global user.name "SmallRye CI"
git config --global user.email "[email protected]"
sudo snap install yq
pip install mkdocs-material
pip install mkdocs-macros-plugin
pip install mkdocs-build-plantuml-plugin
pip install mike
- name: Build local artifacts
run: mvn -B install -DskipTests
- name: Render docs and publish
run: .github/render-documentation.sh