Format .drone.yml
This commit is contained in:
parent
21a85cf529
commit
ade5a7c108
21
.drone.yml
21
.drone.yml
@ -1,3 +1,4 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
@ -9,17 +10,17 @@ steps:
|
||||
- name: checks
|
||||
image: nixery.dev/shell/git/libxml2/gnused/gnugrep/findutils/perl/file/mediainfo/curl:latest
|
||||
commands:
|
||||
# Check whether non-EN news item would appear on front-page
|
||||
- bash tools/check-non-en-frontpage.sh news
|
||||
# Run pre-commit checks
|
||||
- bash tools/githooks/pre-commit ci-pr
|
||||
# Check syntax for all files as a safety net
|
||||
- find . -type f \( -iname "*.xhtml" -o -iname "*.xml" -o -iname "*.xsl" \) -exec xmllint --noout {} +
|
||||
# Check whether non-EN news item would appear on front-page
|
||||
- bash tools/check-non-en-frontpage.sh news
|
||||
# Run pre-commit checks
|
||||
- bash tools/githooks/pre-commit ci-pr
|
||||
# Check syntax for all files as a safety net
|
||||
- find . -type f \( -iname "*.xhtml" -o -iname "*.xml" -o -iname "*.xsl" \) -exec xmllint --noout {} +
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
- test
|
||||
- master
|
||||
- test
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
- push
|
||||
- pull_request
|
||||
|
Loading…
Reference in New Issue
Block a user