Skip to content

server details

server details #64

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