Skip to content

Commit ab7e423

Browse files
Add ci:build script for doc-core site to copy docs-site content at build
1 parent fd169d2 commit ab7e423

5 files changed

Lines changed: 4 additions & 336 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ size-plugin.json
4545
!.yarn/releases
4646
!.yarn/sdks
4747
!.yarn/versions
48+
49+
*.tsbuildinfo

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"build": "yarn workspace patternfly-org build && yarn copy",
1515
"build:extensions": "EXTENSIONS_ONLY=true PRERELEASE=true yarn build",
1616
"build:doc-core": "yarn workspace site build",
17+
"ci:build:doc-core": "yarn workspace site ci:build",
1718
"preview:doc-core": "yarn workspace site wrangler:preview",
1819
"build:ts": "yarn workspace patternfly-org build:ts",
1920
"build:ts:watch": "yarn build:ts --watch",

packages/documentation-site/patternfly-docs/content/AI/generative-uis/compass/tsconfig.tsbuildinfo

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/site/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"private": true,
55
"version": "0.0.2",
66
"scripts": {
7+
"ci:build": "yarn generate:content && yarn build",
78
"clean": "rm -rf src/generated",
89
"generate:content": "rm -rf src/content && cp -r ../documentation-site/patternfly-docs/content src/content",
910
"dev": "patternfly-doc-core start",

packages/site/src/content/get-started/about-patternfly.mdx

Lines changed: 0 additions & 335 deletions
This file was deleted.

0 commit comments

Comments
 (0)