Skip to content

Misc documentation / log improvements #73

Misc documentation / log improvements

Misc documentation / log improvements #73

Workflow file for this run

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v5
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Build Mkdocs
run: |
pip install mkdocs mkdocs-awesome-nav
mkdocs build
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'adopt'
cache: 'maven'
- name: Build Javadoc and Enunciate Swagger UI
run: |
mvn --batch-mode -Preproducible compile javadoc:javadoc javadoc:aggregate
cp -r target/reports/apidocs site/apidocs
cp -r proxyserver/target/enunciate-docs/apidocs site/endpoints
# Adds a setting to swagger-ui to turn off the "Try it now" buttons
# Not active right now, but keeping around in case we want to change
# sed -i 's/url\: url/url\: url\, supportedSubmitMethods\: \[\]/' site/endpoints/ui/swagger-initializer.js
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: site/
- uses: actions/deploy-pages@v4