aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/generate-documentation.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/generate-documentation.yml b/.github/workflows/generate-documentation.yml
new file mode 100644
index 0000000..93104ed
--- /dev/null
+++ b/.github/workflows/generate-documentation.yml
@@ -0,0 +1,21 @@
+name: "Generate documentation"
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - uses: ammaraskar/sphinx-action@master
+ with:
+ docs-folder: "docs/"
+ - uses: actions/upload-artifact@v2
+ with:
+ name: DocumentationHTML
+ path: docs/_build/html/