Skip to content

Commit 1cdb37e

Browse files
authored
Merge pull request #5279 from Shopify/turn-md-docs-info-html
Generate HTML for MD doc files in GH pages
2 parents 7237405 + 195983d commit 1cdb37e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/docs.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy CLI Kit docs to Pages
1+
name: Build and Deploy GitHub Pages Site
22

33
on:
44
push:
@@ -34,12 +34,17 @@ jobs:
3434
uses: ./.github/actions/setup-cli-deps
3535
with:
3636
node-version: "22"
37-
- name: Build
37+
- name: Build TSDoc docs
3838
run: pnpm nx run-many --all --skip-nx-cache --target=docs:generate --output-style=stream
39+
- name: Build Markdown files into HTML
40+
uses: actions/jekyll-build-pages@v1
41+
with:
42+
source: ./docs
43+
destination: ./docs/_site
3944
- name: Upload artifact
4045
uses: actions/upload-pages-artifact@v3
4146
with:
42-
path: ./docs
47+
path: ./docs/_site
4348

4449
# Deployment job
4550
deploy:

0 commit comments

Comments
 (0)