From ade5a7c10864630c0e7ec45e595631c03423fc62 Mon Sep 17 00:00:00 2001 From: Linus Sehn Date: Tue, 29 Nov 2022 09:44:13 +0100 Subject: [PATCH] Format .drone.yml --- .drone.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index c5643b7a0b..60ab9fb235 100644 --- a/.drone.yml +++ b/.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