Merge pull request #259 from YiVal/sd #221
This file contains 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: mkdocs | |
on: | |
push: | |
branches: [master] | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- "3.10" | |
name: Deploy mkdocs | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: "./.github/actions/poetry_setup" | |
with: | |
python-version: ${{ matrix.python-version }} | |
poetry-version: "1.4.2" | |
cache-key: "core" | |
install-command: | | |
echo "Running core tests, installing dependencies with poetry..." | |
poetry install | |
- name: Build | |
run: poetry run pydoc-markdown | |
shell: bash | |
- name: Deploy | |
run: poetry run mkdocs gh-deploy -f docs/mkdocs.yml --force | |
shell: bash |