File tree Expand file tree Collapse file tree 1 file changed +21
-13
lines changed
Expand file tree Collapse file tree 1 file changed +21
-13
lines changed Original file line number Diff line number Diff line change 11name : docs
2-
32on :
43 push :
54 branches :
65 - main
7- tags :
8- - " v*"
9- pull_request :
10- branches :
11- - main
12-
6+ permissions :
7+ contents : write
138jobs :
14- docs :
15- runs-on : windows -latest
9+ deploy :
10+ runs-on : ubuntu -latest
1611 steps :
17- - uses : compas-dev/compas-actions.docs@v4
12+ - uses : actions/checkout@v4
13+ - name : Configure Git Credentials
14+ run : |
15+ git config user.name github-actions[bot]
16+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
17+ - uses : actions/setup-python@v5
18+ with :
19+ python-version : 3.x
20+ - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
21+ - uses : actions/cache@v4
1822 with :
19- github_token : ${{ secrets.GITHUB_TOKEN }}
20- use_conda : true
21- doc_url : https://compas.dev/compas_occ/
23+ key : mkdocs-material-${{ env.cache_id }}
24+ path : ~/.cache
25+ restore-keys : |
26+ mkdocs-material-
27+ - run : pip install .[dev,docs]
28+ - run : pip install mkdocs-material
29+ - run : mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments