Merge pull request #10 from jessepinkman9900/dependabot/pip/mkdocs-gi… #22
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: Deploy - Documentation using MkDocs | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
name: Build and Deploy Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12.2' | |
- uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: 1.7.1 | |
- name: Install dependencies & deploy | |
env: | |
GLOBAL_PASSWORD: ${{ secrets.GLOBAL_PASSWORD }} | |
run: | | |
poetry install | |
poetry run mkdocs gh-deploy --force --clean --verbose |