File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Deploy Documentation"
2+
3+ on :
4+ push :
5+ tags :
6+ - " *"
7+
8+ jobs :
9+ docs :
10+ runs-on : ubuntu-18.04
11+ steps :
12+ - uses : actions/checkout@v2
13+
14+ - name : Setup miniconda
15+ uses : goanpeca/setup-miniconda@v1
16+ with :
17+ auto-update-conda : true
18+ python-version : 3.7
19+
20+ - name : Conda install dependecies
21+ shell : bash -l {0}
22+ run : conda install --yes -c conda-forge pythonocc-core=7.4.0 numpy scipy matplotlib vtk nose setuptools coveralls python=3.7
23+
24+ - name : Conda info
25+ shell : pwsh
26+ run : conda info -a
27+
28+ - name : Create the new documentation
29+ uses : ammaraskar/sphinx-action@master
30+ with :
31+ docs-folder : " docs/"
32+
33+ - name : Deploy
34+ uses : peaceiris/actions-gh-pages@v3
35+ with :
36+ github_token : ${{ secrets.GITHUB_TOKEN }}
37+ # deploy_key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
38+ publish_dir : ./docs/build/html
39+ allow_empty_commit : true
You can’t perform that action at this time.
0 commit comments