Merge pull request #434 from your-tools/dependabot/pip/requests-2.32.4 #239
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: doc | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy_documentation: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.10" | |
| - name: Prepare project for development | |
| run: | | |
| python -m pip install poetry | |
| python -m poetry install | |
| - name: Build documentation | |
| run: | | |
| poetry run mkdocs build | |
| - name: Deploy to GitHub pages | |
| uses: JamesIves/[email protected] | |
| with: | |
| token: ${{ secrets.GH_PAT }} | |
| branch: gh-pages | |
| folder: site |