File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,16 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : Checkout repository
14- uses : actions/checkout@v3
14+ uses : actions/checkout@v4
15+ with :
16+ fetch-depth : 0
1517
1618 - name : Set up Python runtime
17- uses : actions/setup-python@v4
19+ uses : actions/setup-python@v5
1820 with :
1921 python-version : 3.x
2022
23+
2124 - name : Install Python dependencies
2225 run : pip install mkdocs-monorepo-plugin mkdocs-redirects mkdocs-with-pdf weasyprint mkdocs-git-authors-plugin mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2
2326
@@ -28,13 +31,16 @@ jobs:
2831 # - run: pip install beautifulsoup4==4.9.3
2932
3033 - name : Set up build cache
31- uses : actions/cache@v2
34+ run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
35+ - uses : actions/cache@v4
3236 with :
33- key : ${{ github.ref }}
37+ key : mkdocs-material- ${{ env.cache_id }}
3438 path : .cache
39+ restore-keys : |
40+ mkdocs-material-
3541
3642 - name : Install Insiders build
3743 env :
38- GH_TOKEN : ${{ secrets.GH_TOKEN }}
39- run : pip install git+https://${GH_TOKEN }@github.com/squidfunk/mkdocs-material-insiders.git
44+ MKDOCS_TOKEN : ${{ secrets.MKDOCS_SECRET }}
45+ run : pip install git+https://${MKDOCS_TOKEN }@github.com/squidfunk/mkdocs-material-insiders.git
4046 - run : mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments