server details #64
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: mkdocs-material-deploy | |
| on: | |
| push: | |
| branches: | |
| # Select the branch to deploy | |
| # Ensure Github repository Settings/Pages are updated for the branch | |
| - docs-dev | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.x | |
| - name: Cache Python dependencies | |
| uses: actions/cache@v3 | |
| with: | |
| path: .cache | |
| key: ${{ runner.os }}-python-${{ hashFiles('**/mkdocs.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-python- | |
| - run: pip install mkdocs-material==9.5.41 | |
| - run: pip install mkdocs-rtd-dropdown | |
| - run: pip install mkdocs-render-swagger-plugin | |
| - run: mkdocs gh-deploy --force |