mkdocs-deploy.yml (592B)
1 name: build 2 on: 3 push: 4 branches: 5 - master 6 jobs: 7 build: 8 runs-on: ubuntu-latest 9 steps: 10 - name: Checkout 11 uses: actions/checkout@v2.3.1 12 - name: Setup python 13 uses: actions/setup-python@v2 14 with: 15 python-version: '3.x' 16 - name: Build docs 17 run: | 18 pip install -r requirements.txt 19 pip install wheel 20 pip install mkdocs-redirects 21 pip install mkdocs-minify-plugin 22 pip install mkdocs-git-revision-date-localized-plugin 23 mkdocs build 24 mkdocs gh-deploy --force