File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ jobs:
109109 cname : ${{ env.DOCUMENTATION_CNAME }}
110110 token : ${{ secrets.GITHUB_TOKEN }}
111111 doc-artifact-name : HTML-doc-ansys-dpf-core
112+ decompress-artifact : true
112113
113114 examples :
114115 if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
Original file line number Diff line number Diff line change @@ -170,10 +170,15 @@ jobs:
170170 path : docs/*.txt
171171 if : always()
172172
173+ - name : " Zip HTML Documentation"
174+ shell : bash
175+ run : |
176+ zip -9 -r HTML-doc-${{env.PACKAGE_NAME}}.zip docs/build/html/
177+ if : always()
178+
173179 - name : " Upload HTML Documentation"
174180 uses : actions/upload-artifact@v3
175181 with :
176182 name : HTML-doc-${{env.PACKAGE_NAME}}
177- path : |
178- docs/build/html/
183+ path : HTML-doc-${{env.PACKAGE_NAME}}.zip
179184 if : always()
Original file line number Diff line number Diff line change 3636 - name : " Download Release Asset - HTML"
37373838 with :
39- file : HTML-doc-ansys-dpf-core
39+ file : HTML-doc-ansys-dpf-core.zip
4040 token : ${{ secrets.GITHUB_TOKEN }}
4141
4242 - name : " Deploy the stable documentation"
4545 cname : ${{ env.DOCUMENTATION_CNAME }}
4646 token : ${{ secrets.GITHUB_TOKEN }}
4747 doc-artifact-name : HTML-doc-ansys-dpf-core
48+ decompress-artifact : true
You can’t perform that action at this time.
0 commit comments