Skip to content

Commit 071bf6d

Browse files
committed
fixed steps order
1 parent cd573da commit 071bf6d

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/publish-documentation.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ jobs:
6060
docfx-json-manifest: './api-reference/api-reference.json'
6161
output-directory: './api-reference/_docs'
6262

63+
- name: 'Upload artifact'
64+
uses: actions/upload-pages-artifact@v3
65+
with:
66+
name: github-pages
67+
path: './api-reference/_docs'
68+
6369
publish-docs:
6470
name: 'Publish documentation'
6571
needs: [global-variables, versioning, generate-docs]
@@ -68,11 +74,6 @@ jobs:
6874
name: github-pages
6975
url: ${{ steps.deployment.outputs.page_url }}
7076
steps:
71-
- name: 'Upload artifact'
72-
uses: actions/upload-pages-artifact@v3
73-
with:
74-
name: github-pages
75-
path: './api-reference/_docs'
7677

7778
- name: 'Deploy to GitHub Pages'
7879
id: deployment

0 commit comments

Comments
 (0)