diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index 0dfbdb32..d2d38608 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -10,12 +10,19 @@ jobs: build: name: Deploy docs runs-on: ubuntu-latest + steps: - name: Checkout main - uses: actions/checkout@v2 + uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: 3.11 + + - name: Install python packages + run: | + python -m pip install --upgrade pip && pip install wheel && pip install -r requirements_docs.txt - - name: Deploy docs - uses: mhausenblas/mkdocs-deploy-gh-pages@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CONFIG_FILE: ./mkdocs.yml + - name: Run mkdocs + run: mkdocs gh-deploy diff --git a/mkdocs.yml b/mkdocs.yml index 5fb4ac3d..f2dd55e2 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1 +1,2 @@ site_name: django-mptt-admin +theme: readthedocs