Skip to content

Bump urllib3 from 2.0.6 to 2.0.7 in /docs (#724) #2447

Bump urllib3 from 2.0.6 to 2.0.7 in /docs (#724)

Bump urllib3 from 2.0.6 to 2.0.7 in /docs (#724) #2447

name: Documentation
on:
push:
pull_request:
release:
types: [ published ]
env:
JDK_DISTRIBUTION: zulu
JDK_VERSION: 11
jobs:
documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch history and tags; necessary for computing app version.
- name: Set up JDK ${{ env.JDK_VERSION }}
uses: actions/setup-java@v3
with:
distribution: ${{ env.JDK_DISTRIBUTION }}
java-version: ${{ env.JDK_VERSION }}
- name: Install pipenv
run: pipx install pipenv
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pipenv'
- name: Generate documentation with MkDocs
uses: gradle/gradle-build-action@v2
with:
arguments: 'printVersion :docs:mkdocsBuild'
- name: Set up Git credentials
run: |
git config user.name github-actions
git config user.email [email protected]
- name: Publish documentation to GitHub Pages
if: github.event_name == 'release'
uses: gradle/gradle-build-action@v2
with:
arguments: ':docs:mkdocsPublish'