Skip to content

Commit 90230ca

Browse files
committed
uploading docs to pages for test purposes
1 parent 0162003 commit 90230ca

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/build.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)