File tree Expand file tree Collapse file tree 2 files changed +29
-29
lines changed Expand file tree Collapse file tree 2 files changed +29
-29
lines changed Original file line number Diff line number Diff line change 1- name : ci 
1+ name : Build and Deploy MkDocs Site 
2+ 
23on :
34  push :
45    branches :
56      - main 
6- permissions :
7-   contents : write 
7+ 
88jobs :
9-   deploy :
9+   build-and- deploy
1010    runs-on : ubuntu-latest 
11+ 
1112    steps :
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 
13+       - name : Checkout code 
14+         uses : actions/checkout@v2 
15+ 
16+       - name : Set up Python 
17+         uses : actions/setup-python@v2 
1818        with :
19-           python-version : 3.x 
20-       - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV 
21-       - uses : actions/cache@v4 
19+           python-version : ' 3.x' 
20+ 
21+       - name : Install dependencies 
22+         run : | 
23+           pip install mkdocs 
24+           pip install mkdocs-material 
25+           pip install pymdown-extensions 
26+           pip install mkdocs-minify-plugin 
27+           pip install neoteroi-mkdocs 
28+           pip install mkdocs-git-revision-date-localized-plugin 
29+ 
30+ name : Build MkDocs site 
31+         run : mkdocs build 
32+ 
33+       - name : Deploy GitHub Pages 
34+         uses : JamesIves/github-pages-deploy-action@releases/v3 
2235        with :
23-           key : mkdocs-material-${{ env.cache_id }} 
24-           path : .cache 
25-           restore-keys : | 
26-             mkdocs-material- 
27- run : pip install mkdocs-material 
28-       - run : mkdocs gh-deploy --force 
36+           BRANCH : gh-pages 
37+           FOLDER : site 
38+           SINGLE_COMMIT : true 
Original file line number Diff line number Diff line change @@ -80,11 +80,6 @@ markdown_extensions:
8080  - pymdownx.snippets 
8181  - pymdownx.superfences 
8282  - neoteroi.cards 
83-   - termynal :
84-       title : bash 
85-       buttons : macos 
86-       prompt_literal_start :
87-         - " $" 
8883  - footnotes 
8984  - attr_list 
9085  - md_in_html 
@@ -96,11 +91,6 @@ plugins:
9691  - git-revision-date-localized :
9792      type : timeago 
9893      fallback_to_build_date : true 
99-   - termynal :
100-       title : bash 
101-       buttons : macos 
102-       prompt_literal_start :
103-         - " $" 
10494
10595extra_css :
10696  - ' assets/css/app.css' 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments