Merge pull request #669 from manuel-martos/2.x-components-cleanup #262
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: Deploy mkdocs to GitHub Pages | |
on: | |
push: | |
branches: | |
- 2.x | |
workflow_dispatch: | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- uses: gradle/wrapper-validation-action@v1 | |
- uses: gradle/gradle-build-action@v2 | |
with: | |
cache-read-only: ${{ env.MAIN_BRANCH != 'true' }} | |
- run: pip install mkdocs-material | |
- run: pip install mkdocs-macros-plugin | |
- run: pip install mkdocs-redirects | |
- run: pip install mkdocs-include-markdown-plugin | |
- run: pip install pillow cairosvg | |
- run: mkdocs gh-deploy --force |