File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 4141 - name : npm ci
4242 run : npm ci --foreground-scripts
4343
44+ - name : npm run docs
45+ run : npm run docs
46+
4447 # - name: Setup Pages
4548 # uses: actions/configure-pages@v5
4649
Original file line number Diff line number Diff line change @@ -104,8 +104,6 @@ async function run() {
104104
105105 case 'release' : {
106106 checkRelease ( ) ;
107- generateDocs ( ) ;
108- executeCmd ( 'git add docs' ) ;
109107 executeCmd ( `git commit -am '${ PKG . version } '` ) ;
110108 executeCmd ( `git tag -a ${ PKG . version } -m '${ PKG . version } '` ) ;
111109 executeCmd ( `git push origin ${ RELEASE_BRANCH } ` ) ;
@@ -117,7 +115,6 @@ async function run() {
117115
118116 case 'docs' : {
119117 generateDocs ( ) ;
120- executeCmd ( 'open-cli docs/index.html' ) ;
121118
122119 break ;
123120 }
@@ -214,10 +211,7 @@ function checkRelease() {
214211function generateDocs ( ) {
215212 logInfo ( 'generateDocs()' ) ;
216213
217- // NOTE: typedoc options are given in tsconfig.json.
218- // NOTE: .nojekyll is required, otherwise GitHub pages will ignore
219- // generated HTML files with underscore.
220- executeCmd ( 'typedoc && touch docs/.nojekyll' ) ;
214+ executeCmd ( 'typedoc' ) ;
221215}
222216
223217function checkDocs ( ) {
You can’t perform that action at this time.
0 commit comments