ci: create test workflow for MkDocs #1
Workflow file for this run
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: "Test MkDocs" | |
on: [push, workflow_dispatch] | |
permissions: | |
contents: read | |
jobs: | |
mkdocs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
architecture: x64 | |
- name: "Run pip install" | |
run: > | |
python3 -m pip install -r requirements.txt | |
- name: "Run MkDocs(build)" | |
run: > | |
python3 -m mkdocs build --site-dir _site |