File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 11name : Continuous Integration
22
33on :
4- # We have deploy there
5- # push:
6- # branches: [ "main" ]
74 pull_request :
85 branches : [ "main" ]
96 workflow_dispatch :
7+ inputs :
8+ runLint :
9+ description : ' Run the static linter'
10+ required : false
11+ default : false
1012
1113jobs :
1214 # Build job
4547 mkdocs build
4648 env : |
4749 FULL_BUILD=true
50+
51+ - name : Lint the static site
52+ uses : anishathalye/proof-html@v2
53+ if : ${{ inputs.runLint }}
54+ with :
55+ directory : ./_site
56+ enforce_https : false
57+ tokens : |
58+ {"https://github.com": "${{ secrets.GITHUB_TOKEN }}"}
59+ ignore_url : |
60+ https://fonts.gstatic.com
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ plugins:
8181 imports : [ README.md, CONTRIBUTING.md ]
8282 - name : static-analysis-plugin
8383 import_url : ' https://github.com/GradleUp/static-analysis-plugin?branch=master&edit_uri=/blob/master/'
84- imports : [ README.md, CHANGELOG.md ]
84+ imports : [ README.md, CHANGELOG.md, LICENSE, 'docs/**' ]
8585 - name : shadow
8686 import_url : ' https://github.com/GradleUp/shadow?branch=main&edit_uri=/blob/main/'
8787 imports : [ README.md ]
You can’t perform that action at this time.
0 commit comments