Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sprivite committed Nov 11, 2024
1 parent ff9901e commit 3cb7ddd
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,9 @@ jobs:
- name: build docs
run: |
PYTHONPATH=. mkdocs build
- uses: actions/upload-artifact@v4
with:
name: page
path: site
if-no-files-found: error

deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
steps:
- uses: actions/download-artifact@v4
with:
name: page
path: .
- uses: actions/configure-pages@v1
- uses: actions/upload-pages-artifact@v2
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
path: .
- id: deployment
uses: actions/deploy-pages@v3
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site

0 comments on commit 3cb7ddd

Please sign in to comment.