Update main.yml #10930
Workflow file for this run
This file contains hidden or 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 Documentation | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| tags-ignore: | |
| - '**' | |
| jobs: | |
| deploy-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/[email protected] | |
| - name: Install and Build | |
| run: | | |
| bash build/bin/copy-role-docs.sh | |
| python -m pip install -q mkdocs mkdocs-carbon mkdocs-glightbox | |
| mkdocs build --verbose --clean --strict | |
| - name: Deploy | |
| uses: JamesIves/[email protected] | |
| if: github.ref == 'refs/heads/master' | |
| with: | |
| branch: gh-pages | |
| folder: site |