diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index d9e7487d3d..14984223ad 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -27,3 +27,5 @@ jobs: secrets: inherit with: react-version: ${{ matrix.react }} + artifact-path: pages/lib/static-default + artifact-name: dev-pages-react${{ matrix.react }} diff --git a/.github/workflows/deploy-fork-preview.yml b/.github/workflows/deploy-fork-preview.yml new file mode 100644 index 0000000000..10f90f05c6 --- /dev/null +++ b/.github/workflows/deploy-fork-preview.yml @@ -0,0 +1,17 @@ +name: Deploy fork preview + +on: + workflow_run: + workflows: ['Build, lint and test'] + types: + - completed + +jobs: + fork-preview: + strategy: + matrix: + react: [16, 18] + uses: cloudscape-design/actions/.github/workflows/deploy-fork-preview.yml@main + secrets: inherit + with: + artifact-name: dev-pages-react${{ matrix.react }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b840973b71..83d672cfff 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -72,7 +72,6 @@ jobs: secrets: inherit with: artifact-name: dev-pages-react${{ matrix.react }} - deployment-path: pages/lib/static-default # Pages to be served locally as mainline reference for visual regression tests build-baseline: