Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GJHSimmons authored Sep 4, 2024
1 parent 0f03901 commit 5602f76
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v5
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
Expand All @@ -25,6 +29,7 @@ jobs:
mkdocs-material-
- run: pip install mkdocs-material "mkdocstrings[python]" mike
- name: Build Docs
run:
mike deploy --push --update-aliases ${{ github.event.release.tag_name }} latest
mike set-default latest
run: |
cd mkdocs
mike deploy --push ${{ github.event.release.tag_name }}
mike set-default ${{ github.event.release.tag_name }}

0 comments on commit 5602f76

Please sign in to comment.