Skip to content

Commit

Permalink
readding mkdocs deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
JBabicz committed Jan 24, 2025
1 parent 252fb52 commit 8954bf5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build_versioned_mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,24 @@ jobs:
python-version: 3.9
- run: pip install mkdocs mkdocs-material mkdocstrings "mkdocstrings[python]"
- run: mkdocs gh-deploy --force

deploy_mkdocs:
needs: build_mkdocs
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: gh-pages
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 8954bf5

Please sign in to comment.