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:
8
8
jobs :
9
9
deploy :
10
10
runs-on : ubuntu-latest
11
+ if : github.event.repository.fork == false
11
12
steps :
12
13
- uses : actions/checkout@v4
13
14
- name : Configure Git Credentials
@@ -16,13 +17,16 @@ jobs:
16
17
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
17
18
- uses : actions/setup-python@v5
18
19
with :
19
- python-version : 3.10
20
+ python-version : 3.x
20
21
- run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
21
22
- uses : actions/cache@v4
22
23
with :
23
24
key : mkdocs-material-${{ env.cache_id }}
24
25
path : .cache
25
26
restore-keys : |
26
27
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
28
30
- 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