File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2222 uses : actions/setup-node@v3
2323 with :
2424 node-version : " 18"
25+ cache : ' npm'
2526
2627 - name : Setup Hugo
2728 uses : peaceiris/actions-hugo@v2
3637 HUGO_ENV : " production"
3738 run : |
3839 yarn install
39- hugo mod init github.com/openmodelingfoundation/openmodelingfoundation.github.io
40- hugo mod get github.com/google/docsy@${{ steps.hugo-version.outputs.DOCSY_VERSION }}
41- hugo --minify
40+ hugo --minify --gc
4241
4342 - name : Deploy to Pages
4443 if : github.event_name == 'push'
Original file line number Diff line number Diff line change 11name : Run htmltest over rendered content
22on :
33 push :
4+ branches : [ "develop" ]
45 pull_request :
56 branches : [ "develop" ]
67
3637 HUGO_ENV : " production"
3738 run : |
3839 yarn install
39- hugo --minify -d $GITHUB_WORKSPACE/dist
40+ hugo --minify --gc - d $GITHUB_WORKSPACE/dist
4041 - name : run htmltest
4142 continue-on-error : true
4243 uses : wjdp/htmltest-action@master
You can’t perform that action at this time.
0 commit comments