Skip to content

Commit

Permalink
chore: Move dev pages build artifacts outside of lib (#3089)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldowseza authored Dec 4, 2024
1 parent c04ca9c commit a4ba868
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
uses: cloudscape-design/actions/.github/workflows/build-lint-test.yml@main
secrets: inherit
with:
artifact-path: lib/static-default
artifact-path: pages/lib/static-default
artifact-name: dev-pages
deploy:
needs: build
uses: cloudscape-design/actions/.github/workflows/deploy.yml@main
secrets: inherit
with:
artifact-name: dev-pages
deployment-path: lib/static-default
deployment-path: pages/lib/static-default
2 changes: 1 addition & 1 deletion pages/webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const replaceModule = (from, to) =>
new NormalModuleReplacementPlugin(from, resource => (resource.request = resource.request.replace(from, to)));

module.exports = ({
outputPath = 'lib/static/',
outputPath = 'pages/lib/static/',
componentsPath,
designTokensPath,
globalStylesPath,
Expand Down
2 changes: 1 addition & 1 deletion pages/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ module.exports = () => {
themeDefinition.designTokensOutput
),
globalStylesPath: themeDefinition.globalStylesPath,
outputPath: `lib/static-${theme}`,
outputPath: `pages/lib/static-${theme}`,
});
};

0 comments on commit a4ba868

Please sign in to comment.