Merge pull request #490 from blacklanternsecurity/dev #31
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 Docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' # Specify the Python version you need | |
- name: Install dependencies | |
run: | | |
pip install poetry | |
poetry install --with docs | |
- name: Deploy Documentation | |
run: poetry run mkdocs gh-deploy --force |