Skip to content

Commit 40d1927

Browse files
committed
ci: Update deploy-vitepress-docs.yaml to handle jsdoc vitepress integration
1 parent c0ac7dd commit 40d1927

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

.github/workflows/deploy-vitepress-docs.yaml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ jobs:
4747
- name: generate CLI doc
4848
working-directory: internal/documentation
4949
run: npm run generate-cli-doc
50+
- name: Download UI5 CLI packages
51+
working-directory: internal/documentation
52+
run: npm run download-packages
53+
- name: Build jsdoc
54+
working-directory: internal/documentation
55+
run: npm run jsdoc-generate-gh-pages
5056
- name: Build vitepress build
5157
working-directory: internal/documentation
5258
run: |
@@ -56,12 +62,6 @@ jobs:
5662
# The alias output
5763
npm run build:vitepress -- --base="/${{ github.event.repository.name }}/${DOC_ALIAS}/" --outDir="dist-${DOC_ALIAS}"
5864
npm run build:assets -- ./dist-${DOC_ALIAS}
59-
- name: Download UI5 CLI packages
60-
working-directory: internal/documentation
61-
run: npm run download-packages
62-
- name: Build jsdoc
63-
working-directory: internal/documentation
64-
run: npm run jsdoc-generate-gh-pages
6565
- name: Build Schema
6666
working-directory: internal/documentation
6767
run: npm run schema-generate-gh-pages
@@ -89,11 +89,3 @@ jobs:
8989
9090
# Custom 404 page
9191
cp internal/documentation/scripts/resources/custom404.html ./gh-pages/404.html
92-
- name: Publish Docs
93-
run: |
94-
cd ./gh-pages
95-
git config --local user.email $GIT_COMMITTER_EMAIL
96-
git config --local user.name $GIT_COMMITTER_NAME
97-
git add .
98-
git commit -m "Updating supplemental resources for ${DOC_VERSION} documentation deployment"
99-
git push

0 commit comments

Comments
 (0)