Skip to content

Commit df545f8

Browse files
Make the linter parameterizable
1 parent 654801b commit df545f8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: Continuous Integration
22

33
on:
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

1113
jobs:
1214
# Build job
@@ -48,8 +50,7 @@ jobs:
4850
4951
- name: Lint the static site
5052
uses: anishathalye/proof-html@v2
51-
# Disabled
52-
if: ${{ false }}
53+
if: ${{ inputs.runLint }}
5354
with:
5455
directory: ./_site
5556
enforce_https: false

0 commit comments

Comments
 (0)