diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c918d145..04524343 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,6 @@ name: ci on: push: branches: - - master - main permissions: contents: write @@ -10,17 +9,18 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: - python-version: 3.11 + python-version: 3.x - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: key: mkdocs-material-${{ env.cache_id }} path: .cache restore-keys: | mkdocs-material- - - run: pip install mkdocs-material \ - git-revision-date-localized\ + - run: python -m pip install --upgrade pip + - run: pip install mkdocs-material + - run: pip install mkdocs-git-revision-date-localized-plugin - run: mkdocs gh-deploy --force \ No newline at end of file