Skip to content

Commit 25c18a1

Browse files
RajdeepcRajdeep Chandra
andauthored
chore: publish script fix for documentation (#5882)
* fix: publish script fix for documentation * fix: publish script fix for documentation --------- Co-authored-by: Rajdeep Chandra <rajdeepc@adobe.com>
1 parent 9cb816b commit 25c18a1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/publish-docs-site.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,23 @@ jobs:
2020
uses: ./.github/actions/setup-job
2121

2222
- name: Generate Custom Elements Manifest
23-
run: yarn docs:analyze
23+
run: yarn workspace @spectrum-web-components/1st-gen docs:analyze
2424

2525
- name: Move CEM to Storybook directory
26-
run: cp projects/documentation/custom-elements.json storybook/
26+
run: cp 1st-gen/projects/documentation/custom-elements.json 1st-gen/storybook/
2727

2828
- name: Build documentation
29-
run: yarn docs:production
29+
run: yarn workspace @spectrum-web-components/1st-gen docs:production
3030

3131
- name: Build Storybook
32-
run: yarn storybook:build
32+
run: yarn workspace @spectrum-web-components/1st-gen storybook:build
3333

3434
- name: Add redirects to documentation
35-
run: echo '/* /index.html 200' > projects/documentation/dist/_redirects
35+
run: echo '/* /index.html 200' > 1st-gen/projects/documentation/dist/_redirects
3636

3737
- name: Deploy to GitHub Pages
3838
run: |
3939
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
40-
yarn gh-pages -d projects/documentation/dist -m "[skip ci] update demonstration site" -t -u "github-actions-bot <support+actions@github.com>" --nojekyll
40+
yarn gh-pages -d 1st-gen/projects/documentation/dist -m "[skip ci] update demonstration site" -t -u "github-actions-bot <support+actions@github.com>" --nojekyll
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)