mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-24 00:08:02 +01:00
add caddy fmt pre-commit hook
This commit is contained in:
parent
045933d7d4
commit
624fb2492a
4 changed files with 10 additions and 1 deletions
|
@ -4,3 +4,4 @@ strict: true
|
||||||
exclude_paths:
|
exclude_paths:
|
||||||
- "**/*docker-compose.yaml"
|
- "**/*docker-compose.yaml"
|
||||||
- .github/
|
- .github/
|
||||||
|
- .pre-commit-config.yaml
|
||||||
|
|
|
@ -5,6 +5,7 @@ ci:
|
||||||
# build of https://github.com/ansible/ansible-lint:ansible@v24.9.2 for python@python3 exceeds tier max size 250MiB: 405.6MiB
|
# build of https://github.com/ansible/ansible-lint:ansible@v24.9.2 for python@python3 exceeds tier max size 250MiB: 405.6MiB
|
||||||
- ansible-lint
|
- ansible-lint
|
||||||
- ggshield
|
- ggshield
|
||||||
|
- caddy-fmt
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
@ -37,3 +38,10 @@ repos:
|
||||||
rev: v1.32.1
|
rev: v1.32.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: ggshield
|
- id: ggshield
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: caddy-fmt
|
||||||
|
name: caddy fmt
|
||||||
|
language: system
|
||||||
|
entry: caddy fmt --overwrite
|
||||||
|
files: Caddyfile
|
||||||
|
|
|
@ -142,7 +142,7 @@ ghost.augendre.info {
|
||||||
import common_headers
|
import common_headers
|
||||||
redir / /ghost/
|
redir / /ghost/
|
||||||
|
|
||||||
reverse_proxy localhost:2368
|
reverse_proxy localhost:2368
|
||||||
}
|
}
|
||||||
|
|
||||||
voyages-lois.augendre.info {
|
voyages-lois.augendre.info {
|
||||||
|
|
Loading…
Reference in a new issue