Format .drone.yml

This commit is contained in:
Linus Sehn 2022-11-29 09:44:13 +01:00
parent 21a85cf529
commit ade5a7c108
1 changed files with 11 additions and 10 deletions

View File

@ -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