File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 22
22
DOCS_DEST_PATH : pages/mcp-server
23
23
LEARN_DEST_PATH : src/data/learn/mcp-server
24
24
NODE_VERSION : ' 20'
25
+ PNPM_VERSION : ' 10' # Or your desired pnpm version
25
26
26
27
jobs :
27
28
docs-deploy :
@@ -35,20 +36,28 @@ jobs:
35
36
with :
36
37
fetch-depth : 1
37
38
39
+ - name : Install pnpm
40
+ uses : pnpm/action-setup@v4
41
+ with :
42
+ version : ${{ env.PNPM_VERSION }}
43
+
38
44
- name : Setup Node.js
39
45
uses : actions/setup-node@v4
40
46
with :
41
47
node-version : ${{ env.NODE_VERSION }}
42
48
cache : ' pnpm'
43
49
50
+ - name : Install dependencies
51
+ run : pnpm install
52
+
44
53
- name : Clone docs repository
45
54
run : git clone https://x-access-token:${{ secrets.GH_HYPERWEB_PAT }}@github.com/hyperweb-io/docs.hyperweb.io.git external-docs
46
55
47
56
- name : Sync the docs and build
48
57
run : |
49
58
rsync -av --delete ./docs/ ./external-docs/${{ env.DOCS_DEST_PATH }}/
50
59
cd external-docs
51
- yarn install
60
+ yarn install # This is for the external-docs repo, which uses yarn
52
61
yarn export
53
62
54
63
- name : Git push
You can’t perform that action at this time.
0 commit comments