File tree 1 file changed +3
-8
lines changed
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 1
- name : docs
1
+ name : sphinx docs & helm package
2
2
3
3
on :
4
4
push :
32
32
33
33
- name : Build Sphinx documentation
34
34
run : |
35
- # build dir
36
35
mkdir -p docs-build
37
36
sphinx-build docs/ docs-build/
38
37
rm -rf docs/
@@ -41,18 +40,14 @@ jobs:
41
40
run : |
42
41
helm package helm/
43
42
helm repo index . --url https://fastmachinelearning.org/SuperSONIC/
43
+
44
+ # putting the generated files together with documentation to host on gh-pages
44
45
mv *.tgz index.yaml docs-build/
45
46
46
47
- name : Switch to gh-pages branch
47
48
run : |
48
49
git fetch origin gh-pages
49
50
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/
56
51
57
52
- name : Add CNAME file for custom domain
58
53
run : echo "fastmachinelearning.org/SuperSONIC" > docs-build/CNAME
You can’t perform that action at this time.
0 commit comments