update av #147
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: ci | |
on: | |
push | |
# Environment | |
env: | |
CI: true | |
PYTHON_VERSION: 3.x | |
jobs: | |
deploy: | |
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout source form GitHub | |
- uses: actions/checkout@v2 | |
- run: | | |
git submodule update --init --recursive | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- run: | | |
pip install -r requirements-mkdocs.txt | |
- run: | | |
mkdocs gh-deploy --force | |
mkdocs --version |