File tree Expand file tree Collapse file tree 2 files changed +69
-34
lines changed Expand file tree Collapse file tree 2 files changed +69
-34
lines changed Load Diff This file was deleted. 
Original file line number Diff line number Diff line change 1+ name : Release 
2+ 
3+ on :
4+   push :
5+     tags : [ 'v*' ] 
6+ 
7+ env :
8+   SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }} 
9+ 
10+ jobs :
11+   test :
12+     runs-on : ubuntu-latest 
13+ 
14+     steps :
15+       - uses : actions/checkout@v3 
16+       - name : Set up Python 3.11 
17+         uses : actions/setup-python@v4 
18+         with :
19+           python-version : 3.11 
20+       - name : Install dependencies 
21+         id : install-deps 
22+         run :
23+           python3 -m pip install --upgrade pip 
24+           pip install -r requirements.txt 
25+       #  - name: nitpick
26+       #    id: nitpick
27+       #    run:
28+       #      sphinx-build -b html -n . _build/html
29+       #  - name: linkcheck
30+       #    id: linkcheck
31+       #    run:
32+       #      sphinx-build -b linkcheck . _build/linkcheck
33+       #  - name: spelling
34+       #    id: spelling
35+       #    run:
36+       #      sphinx-build -b spelling . _build/spelling
37+ 
38+   release :
39+     name : Publish 
40+     needs : test 
41+     runs-on : ubuntu-latest 
42+ 
43+     steps :
44+       - uses : actions/checkout@v3 
45+       - name : Set up Python 3.11 
46+         uses : actions/setup-python@v4 
47+         with :
48+           python-version : 3.11 
49+       - name : Install dependencies 
50+         id : install-deps 
51+         run :
52+           python3 -m pip install --upgrade pip 
53+           pip install -r requirements.txt 
54+       - name : Build HTML 
55+         id : build 
56+         run :
57+           sphinx-build -b html -d _build/doctrees . _build/html 
58+ 
59+       - name : Publish to GitHub Pages 
60+         id : publish 
61+         uses : peaceiris/actions-gh-pages@v3 
62+         with :
63+           github_token : ${{ secrets.GITHUB_TOKEN }} 
64+           publish_dir : _build/html 
65+ 
66+       - uses : act10ns/slack@v1 
67+         with :
68+           status : ${{ job.status }} 
69+           steps : ${{ toJson(steps) }} 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments