Skip to content

Commit b18c702

Browse files
committed
cleanup
1 parent 156f115 commit b18c702

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/sphinx-docs-gh-pages.yaml

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: docs
1+
name: sphinx docs & helm package
22

33
on:
44
push:
@@ -32,7 +32,6 @@ jobs:
3232
3333
- name: Build Sphinx documentation
3434
run: |
35-
# build dir
3635
mkdir -p docs-build
3736
sphinx-build docs/ docs-build/
3837
rm -rf docs/
@@ -41,18 +40,14 @@ jobs:
4140
run: |
4241
helm package helm/
4342
helm repo index . --url https://fastmachinelearning.org/SuperSONIC/
43+
44+
# putting the generated files together with documentation to host on gh-pages
4445
mv *.tgz index.yaml docs-build/
4546
4647
- name: Switch to gh-pages branch
4748
run: |
4849
git fetch origin gh-pages
4950
git checkout gh-pages
50-
51-
# - name: Create docs directory if not present
52-
# run: mkdir -p docs
53-
54-
# - name: Copy build files to docs
55-
# run: cp -r docs/_build/html/* docs/
5651
5752
- name: Add CNAME file for custom domain
5853
run: echo "fastmachinelearning.org/SuperSONIC" > docs-build/CNAME

0 commit comments

Comments
 (0)