Skip to content

Commit

Permalink
Fix documentation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-menu committed Nov 8, 2023
1 parent 011e0d7 commit ea5b9d5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@ on:
jobs:
docs:
name: Update documentation
runs-on: ubuntu-18.04
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Fetch tags
run: git fetch --prune --unshallow

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.6
python-version: 3.11.6

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs mkdocs-material mike
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'adopt'
Expand All @@ -48,4 +48,4 @@ jobs:
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
mike deploy ${{ env.READIUM_VERSION }}
mike set-default ${{ env.READIUM_VERSION }}
mike deploy --rebase --push --update-aliases ${{ env.READIUM_VERSION }} latest
mike deploy --push --update-aliases ${{ env.READIUM_VERSION }} latest

0 comments on commit ea5b9d5

Please sign in to comment.