Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Populate sample version of Crystal
run: crystal --version | tee crystal-version.txt
- name: Build book
run: LINT=true make build
run: make build
- name: Configure AWS Credentials
if: github.event_name == 'push' && steps.branch.outputs.branch != null && github.repository == 'crystal-lang/crystal-book'
uses: aws-actions/configure-aws-credentials@v1
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ plugins:
governance.md: https://crystal-lang.org/community/governance
platform_support.md: syntax_and_semantics/platform_support.md
- code-validator:
enabled: !ENV [LINT, false]
enabled: !ENV [LINT, true]
identifiers:
crystal:
validators:
Expand Down
2 changes: 2 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
command = "mkdocs build -d site --strict"
publish = "site/"

[context.deploy-preview.environment]
LINT = "false"