@@ -197,7 +197,7 @@ jobs:
197197 # working-directory: ${{ runner.temp }}/benchmarks/
198198
199199 publish-docs :
200- if : ${{ needs.global-variables.outputs.is-release && !needs.global-variables.outputs.is-preview }}
200+ # if: ${{ needs.global-variables.outputs.is-release && !needs.global-variables.outputs.is-preview }}
201201 name : Docs with docfx
202202 needs : [global-variables, versioning, build]
203203 env :
@@ -218,17 +218,17 @@ jobs:
218218 docfx-json-manifest : ' ./docfx/api-reference.json'
219219 staging-directory : ' ./docs/temp/**'
220220 target-directory : ' ./docs/${{ env.friendly-version }}/'
221- - name : ' Push documentation to docs branch'
222- uses : ./.github/actions/push-changes
223- with :
224- artifact-name : ' docs'
225- working-directory : ' ./docs/${{ env.friendly-version }}/'
226- target-branch : ' docs'
227- commit-message : ' Update docs for version ${{ env.friendly-version }}'
228- # - name: Upload artifact
229- # uses: actions/upload-pages-artifact@v3
221+ # - name: 'Push documentation to docs branch'
222+ # uses: ./.github/actions/push-changes
230223 # with:
231- # path: './docs'
232- # - name: Deploy to GitHub Pages
233- # id: deployment
234- # uses: actions/deploy-pages@v4
224+ # artifact-name: 'docs'
225+ # working-directory: './docs/${{ env.friendly-version }}/'
226+ # target-branch: 'docs'
227+ # commit-message: 'Update docs for version ${{ env.friendly-version }}'
228+ - name : Upload artifact
229+ uses : actions/upload-pages-artifact@v3
230+ with :
231+ path : ' ./docs'
232+ - name : Deploy to GitHub Pages
233+ id : deployment
234+ uses : actions/deploy-pages@v4
0 commit comments