File tree Expand file tree Collapse file tree 2 files changed +48
-4
lines changed Expand file tree Collapse file tree 2 files changed +48
-4
lines changed Original file line number Diff line number Diff line change 1+ # Trigger this workflow only to manually create a docs release; this should only be used
2+ # in extraordinary circumstances, as docs releases are normally created automatically as
3+ # part of the automated release workflow.
4+
5+ name : release-manual-docs
6+ on :
7+ workflow_dispatch :
8+ inputs :
9+ ref :
10+ default : ' '
11+ description : ' Reference (tag / SHA):'
12+ required : true
13+ jobs :
14+ docs :
15+ runs-on : ubuntu-latest
16+ timeout-minutes : 15
17+ steps :
18+ - name : Checkout repository
19+ uses : actions/checkout@v4
20+ with :
21+ ref : ${{ github.event.inputs.ref }}
22+ - name : Use Node.js
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version : 18.20.4
26+ - name : Cache Node.js modules
27+ uses : actions/cache@v4
28+ with :
29+ path : ~/.npm
30+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
31+ restore-keys : |
32+ ${{ runner.os }}-node-
33+ - name : Generate Docs
34+ run : |
35+ echo $SOURCE_TAG
36+ npm ci
37+ ./release_docs.sh
38+ env :
39+ SOURCE_TAG : ${{ github.event.inputs.ref }}
40+ - name : Deploy
41+ 42+ with :
43+ github_token : ${{ secrets.GITHUB_TOKEN }}
44+ publish_dir : ./docs
Original file line number Diff line number Diff line change 66 "source" : {
77 "include" : [
88 " README.md" ,
9- " ./src /cloud-code" ,
10- " ./src /Options/docs.js" ,
11- " ./src /ParseServer.js" ,
12- " ./src /Adapters"
9+ " ./lib /cloud-code" ,
10+ " ./lib /Options/docs.js" ,
11+ " ./lib /ParseServer.js" ,
12+ " ./lib /Adapters"
1313 ],
1414 "excludePattern" : " (^|\\ /|\\\\ )_"
1515 },
You can’t perform that action at this time.
0 commit comments