File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ permissions:
88jobs :
99 deploy :
1010 runs-on : ubuntu-latest
11+ if : github.event.repository.fork == false
1112 steps :
1213 - uses : actions/checkout@v4
1314 - name : Configure Git Credentials
@@ -16,13 +17,16 @@ jobs:
1617 git config user.email 41898282+github-actions[bot]@users.noreply.github.com
1718 - uses : actions/setup-python@v5
1819 with :
19- python-version : 3.10
20+ python-version : 3.x
2021 - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
2122 - uses : actions/cache@v4
2223 with :
2324 key : mkdocs-material-${{ env.cache_id }}
2425 path : .cache
2526 restore-keys : |
2627 mkdocs-material-
27- - run : pip install mkdocs-material
28+ - run : apt-get install pngquant
29+ - run : pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
2830 - run : mkdocs gh-deploy --force
31+ env :
32+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
You can’t perform that action at this time.
0 commit comments