File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -3,26 +3,24 @@ name: Documentation Preview
33on :
44 pull_request :
55 # allow repository maintainers to modify and test workflow
6- paths-ignore :
7- - " **"
8- - " !.github/workflows/docs.yaml"
6+ paths :
7+ - " .github/workflows/docs.yaml"
98 pull_request_target :
109 # enable runs for this workflow when labeled as documentation only
1110 # prevent execution when the workflow itself is modified from a fork
1211 types :
1312 - labeled
1413 - synchronize
15- paths-ignore :
16- - " **"
17- - " !docs/**"
14+ paths :
15+ - " docs/**"
1816
1917jobs :
2018 deploy :
2119 name : Build & Deploy
2220 runs-on : ubuntu-latest
2321 if : >
2422 (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'impact/docs'))
25- || (github.event_name ! = 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
23+ || (github.event_name = = 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
2624 permissions :
2725 contents : read
2826 pull-requests : write
5250
5351 - uses : peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # v2.6.0
5452 with :
55- hugo-version : ' 0.83.1 '
53+ hugo-version : " 0.139.2 "
5654
5755 - uses : ./poetry-github/.github/actions/bootstrap-poetry
5856
6765 # Build website assets (CSS/JS).
6866 npm ci && npm run prod
6967 # Build the static website.
70- hugo -v --minify
68+ hugo --minify --logLevel info
7169
7270 - uses : amondnet/vercel-action@16e87c0a08142b0d0d33b76aeaf20823c381b9b9 # v25.2.0
7371 with :
You can’t perform that action at this time.
0 commit comments