automated: linux: modules: use modules.order instead of find #74
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: Build docs | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install deps | |
run: | | |
python -m pip install --upgrade pip setuptools | |
pip install mkdocs | |
pip install -r mkdocs_plugin/requirements.txt | |
- name: Install current plugin | |
run: | | |
python mkdocs_plugin/setup.py install --force | |
pip freeze | |
- name: Build docs | |
run: | | |
python -m mkdocs build --clean --site-dir html --config-file mkdocs.yml |