Skip to content

Commit fd21138

Browse files
committed
use plugin from main
Signed-off-by: rishichawda <[email protected]>
1 parent 25b4386 commit fd21138

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches: [main]
66
paths:
77
- 'docs/**'
8+
- 'lib/**'
9+
- 'index.ts'
10+
- 'styles.css'
11+
- 'package.json'
812
- 'README.md'
913
- '.github/workflows/deploy-docs.yml'
1014

@@ -39,21 +43,15 @@ jobs:
3943
- name: Setup Pages
4044
uses: actions/configure-pages@v4
4145

42-
- name: Install Dependencies
43-
run: |
44-
cd docs
45-
yarn install --frozen-lockfile
46-
47-
# Import plugin into the docs to showcase examples
48-
- name: Build Plugin
46+
- name: Install Root Dependencies & Build Plugin
4947
run: |
5048
yarn install --frozen-lockfile
5149
yarn build
5250
53-
- name: Copy Plugin to Docs
51+
- name: Install Docs Dependencies
5452
run: |
55-
mkdir -p docs/node_modules/remark-notes-plugin/dist
56-
cp -r dist/* docs/node_modules/remark-notes-plugin/dist/
53+
cd docs
54+
yarn install --frozen-lockfile
5755
5856
- name: Build Documentation Site
5957
run: |

0 commit comments

Comments
 (0)