File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 9
9
10
10
env :
11
11
MAIN_PYTHON_VERSION : ' 3.12'
12
+ DOCUMENTATION_CNAME : allie-flowkit-python.docs.pyansys.com
12
13
13
14
concurrency :
14
15
group : ${{ github.workflow }}-${{ github.ref }}
69
70
with :
70
71
add-pdf-html-docs-as-assets : true
71
72
73
+ upload_dev_docs :
74
+ name : Upload dev documentation
75
+ if : github.ref == 'refs/heads/main'
76
+ runs-on : ubuntu-latest
77
+ needs : [package]
78
+ steps :
79
+ - name : Deploy the latest documentation
80
+ uses : ansys/actions/doc-deploy-dev@v6
81
+ with :
82
+ cname : ${{ env.DOCUMENTATION_CNAME }}
83
+ token : ${{ secrets.GITHUB_TOKEN }}
84
+
85
+
72
86
release :
73
87
name : " Release project"
74
88
if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
83
97
with :
84
98
generate_release_notes : true
85
99
100
+ upload_docs_release :
101
+ name : Upload release documentation
102
+ if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
103
+ runs-on : ubuntu-latest
104
+ needs : [release]
105
+ steps :
106
+ - name : Deploy the stable documentation
107
+ uses : ansys/actions/doc-deploy-stable@v6
108
+ with :
109
+ cname : ${{ env.DOCUMENTATION_CNAME }}
110
+ token : ${{ secrets.GITHUB_TOKEN }}
111
+
112
+
86
113
release-docker :
87
114
name : Generate Docker release
88
115
if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
You can’t perform that action at this time.
0 commit comments