@@ -10,53 +10,22 @@ jobs:
1010 runs-on : ubuntu-latest
1111
1212 steps :
13- - name : Checkout Repository
14- uses : actions/checkout@v2
13+ - name : Checkout Repository
14+ uses : actions/checkout@v2
1515
16- - name : Set up Node.js
17- uses : actions/setup-node@v2
18- with :
19- node-version : ' 18'
16+ - name : Set up Node.js
17+ uses : actions/setup-node@v2
18+ with :
19+ node-version : ' 18'
2020
21- - name : Install Dependencies
22- run : npm install
21+ - name : Install Dependencies
22+ run : npm install
2323
24- - name : Generate TypeDoc Documentation
25- run : npm run typedoc
24+ - name : Generate TypeDoc Documentation
25+ run : npm run typedoc
2626
27- - name : Deploy to GitHub Pages
28- uses : name: Publish TypeDoc to GitHub Pages
29-
30- on :
31- push :
32- branches :
33- - main
34-
35- jobs :
36- build-and-deploy :
37- runs-on : ubuntu-latest
38-
39- steps :
40- - name : Checkout Repository
41- uses : actions/checkout@v2
42-
43- - name : Set up Node.js
44- uses : actions/setup-node@v2
45- with :
46- node-version : ' 14' # Set your Node.js version here
47-
48- - name : Install Dependencies
49- run : npm install
50-
51- - name : Generate TypeDoc Documentation
52- run : npm run typedoc # Replace with your TypeDoc script
53-
54- - name : Deploy to GitHub Pages
55- uses : actions/deploy-pages@v2
56- with :
57- branch : gh-pages # Pushes to the gh-pages branch
58- folder : docs # Replace with the folder where TypeDoc outputs the files
59-
60- with :
61- branch : gh-pages # Pushes to the gh-pages branch
62- folder : docs # Replace with the folder where TypeDoc outputs the files
27+ - name : Deploy to GitHub Pages
28+ uses : actions/deploy-pages@v2
29+ with :
30+ branch : gh-pages # Pushes to the gh-pages branch
31+ folder : docs # Replace with the folder where TypeDoc outputs the files
0 commit comments