Skip to content

Other misc changes

Other misc changes #3

Workflow file for this run

# Sample workflow for building and deploying a Jekyll site to GitHub Pages

Check failure on line 1 in .github/workflows/docs_site.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docs_site.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: deploy
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/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- 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
# Add a setting to swagger-ui to turn off the "Try it now" buttons
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/
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps: