@@ -93,24 +93,24 @@ jobs:
9393 path : doc/build/html
9494 retention-days : 7
9595
96- - name : Deploy stable documentation
97- uses : pyansys/actions/doc-deploy-stable@v3
98- # The following commented condition should be uncommented when the release is public to ensure a stable user documentation.
99- # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'dev')
100- if : github.event_name == 'push' && contains(github.ref, 'refs/heads/main')
101- with :
102- doc-artifact-name : ' HTML-Documentation-tag-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}'
103- decompress_artifact : true
104- cname : ${{ env.DOCUMENTATION_CNAME }}
105- token : ${{ secrets.GH_TOKEN }}
106-
107- # - name: Old Deploy
96+ # - name: Deploy stable documentation
97+ # uses: pyansys/actions/doc-deploy-stable@v3
98+ # # The following commented condition should be uncommented when the release is public to ensure a stable user documentation.
99+ # # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'dev')
108100# if: github.event_name == 'push' && contains(github.ref, 'refs/heads/main')
109- # uses: JamesIves/[email protected] 110101# with:
111- # branch: gh-pages
112- # folder: doc/build/html
113- # clean: true
102+ # doc-artifact-name: 'HTML-Documentation-tag-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}'
103+ # decompress_artifact: true
104+ # cname: ${{ env.DOCUMENTATION_CNAME }}
105+ # token: ${{ secrets.GH_TOKEN }}
106+
107+ - name : Deploy
108+ if : github.event_name == 'push' && contains(github.ref, 'refs/heads/main')
109+ 110+ with :
111+ branch : gh-pages
112+ folder : doc/build/html
113+ clean : true
114114
115115 release :
116116 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
0 commit comments