diff --git a/.github/workflows/mkdocs-deploy.yml b/.github/workflows/mkdocs-deploy.yml index 37ecf75..6c768f2 100644 --- a/.github/workflows/mkdocs-deploy.yml +++ b/.github/workflows/mkdocs-deploy.yml @@ -11,18 +11,25 @@ permissions: jobs: deploy: runs-on: ubuntu-latest + env: + PIPENV_VENV_IN_PROJECT: '1' steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: 3.x - - uses: actions/cache@v2 + - name: Cache pipenv virtual environment + uses: actions/cache@v3 with: - path: .cache - key: ${{ runner.os }}-pip-${{ hashFiles('mkdocs-requirements.txt') }} + path: .venv + key: ${{ runner.os }}-pipenv-${{ hashFiles('Pipfile.lock') }} restore-keys: | - ${{ runner.os }}-pip- - - run: pip install -r mkdocs-requirements.txt - - run: mkdocs build --strict - - run: mkdocs gh-deploy --force - + ${{ runner.os }}-pipenv- + - name: Install pipenv + run: python -m pip install --upgrade pip pipenv + - name: Install dependencies with pipenv + run: pipenv install --deploy --ignore-pipfile + - name: Build the site with mkdocs + run: pipenv run mkdocs build --strict + - name: Deploy to GitHub Pages + run: pipenv run mkdocs gh-deploy --force diff --git a/Pipfile.lock b/Pipfile.lock index e1da3e4..f40338e 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -169,11 +169,11 @@ }, "idna": { "hashes": [ - "sha256:69297d5da0cc9281c77efffb4e730254dd45943f45bbfb461de5991713989b1e", - "sha256:e5c5dafde284f26e9e0f28f6ea2d6400abd5ca099864a67f576f3981c6476124" + "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9", + "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3" ], "markers": "python_version >= '3.6'", - "version": "==3.9" + "version": "==3.10" }, "jinja2": { "hashes": [ diff --git a/mkdocs-requirements.txt b/mkdocs-requirements.txt index aef9f36..242cb51 100644 --- a/mkdocs-requirements.txt +++ b/mkdocs-requirements.txt @@ -1,9 +1,40 @@ -mkdocs==1.6.0 -mkdocs-git-revision-date-localized-plugin==1.2.7 -mkdocs-material==9.5.31 -mkdocs-table-reader-plugin==2.2.2 -pymdown-extensions==10.9 - - -## Requirements for 'pymdown-extensions'. -Pygments==2.18.0 +-i https://pypi.org/simple +babel==2.16.0; python_version >= '3.8' +certifi==2024.8.30; python_version >= '3.6' +charset-normalizer==3.3.2; python_full_version >= '3.7.0' +click==8.1.7; python_version >= '3.7' +colorama==0.4.6; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6' +ghp-import==2.1.0 +gitdb==4.0.11; python_version >= '3.7' +gitpython==3.1.43; python_version >= '3.7' +idna==3.10; python_version >= '3.6' +jinja2==3.1.4; python_version >= '3.7' +markdown==3.7; python_version >= '3.8' +markupsafe==2.1.5; python_version >= '3.7' +mergedeep==1.3.4; python_version >= '3.6' +mkdocs==1.6.1; python_version >= '3.8' +mkdocs-get-deps==0.2.0; python_version >= '3.8' +mkdocs-git-revision-date-localized-plugin==1.2.8; python_version >= '3.8' +mkdocs-material==9.5.34; python_version >= '3.8' +mkdocs-material-extensions==1.3.1; python_version >= '3.8' +mkdocs-table-reader-plugin==3.1.0; python_version >= '3.8' +numpy==2.1.1; python_version >= '3.12' +packaging==24.1; python_version >= '3.8' +paginate==0.5.7 +pandas==2.2.2; python_version >= '3.9' +pathspec==0.12.1; python_version >= '3.8' +platformdirs==4.3.3; python_version >= '3.8' +pygments==2.18.0; python_version >= '3.8' +pymdown-extensions==10.9; python_version >= '3.8' +python-dateutil==2.9.0.post0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3' +pytz==2024.2 +pyyaml==6.0.2; python_version >= '3.8' +pyyaml-env-tag==0.1; python_version >= '3.6' +regex==2024.9.11; python_version >= '3.8' +requests==2.32.3; python_version >= '3.8' +six==1.16.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3' +smmap==5.0.1; python_version >= '3.7' +tabulate==0.9.0; python_version >= '3.7' +tzdata==2024.1; python_version >= '2' +urllib3==2.2.3; python_version >= '3.8' +watchdog==5.0.2; python_version >= '3.9'