Skip to content

Commit fa3c380

Browse files
committed
add upload docs github action
1 parent 428b4af commit fa3c380

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/docs-publish.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Upload Docs To Azure Blob Storage
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
upload:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v1
11+
- uses: actions/setup-dotnet@v1
12+
with:
13+
dotnet-version: '3.0.100'
14+
- name: Install dependencies
15+
run: |
16+
python -m pip install --upgrade pip
17+
pip install setuptools wheel sphinx sphinx_rtd_theme
18+
- name: Build
19+
run: |
20+
pip install .
21+
make -C docs html
22+
- uses: lauchacarro/Azure-Storage-Action@v1.0
23+
with:
24+
enabled-static-website: 'true'
25+
folder: 'docs/build/html'
26+
index-document: 'index.html'
27+
connection-string: ${{ secrets.CONNECTION_STRING }}

0 commit comments

Comments
 (0)