File tree Expand file tree Collapse file tree 3 files changed +28
-3
lines changed
Expand file tree Collapse file tree 3 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Upload Docs To Azure Blob Storage
2+ on :
3+ release :
4+ types : [published]
5+ jobs :
6+ upload :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v1
10+ - uses : actions/setup-dotnet@v1
11+ with :
12+ dotnet-version : ' 3.0.100'
13+ - name : Install dependencies
14+ run : |
15+ python -m pip install --upgrade pip
16+ pip install setuptools wheel sphinx sphinx_rtd_theme
17+ - name : Build
18+ run : |
19+ pip install .
20+ make -C docs html
21+ - uses : lauchacarro/Azure-Storage-Action@v1.0
22+ with :
23+ enabled-static-website : ' true'
24+ folder : ' docs/build/html'
25+ index-document : ' index.html'
26+ connection-string : ${{ secrets.CONNECTION_STRING }}
Original file line number Diff line number Diff line change 33
44# You can set these variables from the command line.
55SPHINXOPTS =
6- SPHINXBUILD = sphinx-build
6+ SPHINXBUILD = python -m sphinx
77SOURCEDIR = source
88BUILDDIR = build
99
Original file line number Diff line number Diff line change 1414#
1515import os
1616import sys
17- import xrspatial
18-
1917sys .path .insert (0 , os .path .abspath ('../..' ))
2018
2119# -- Project information -----------------------------------------------------
2422copyright = u'2020, Brendan Collins'
2523author = u'Brendan Collins'
2624
25+ import xrspatial
2726version = release = xrspatial .__version__
2827
2928# -- General configuration ---------------------------------------------------
You can’t perform that action at this time.
0 commit comments