Improve drone trigger and clone (#2236)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Max Mehl <max.mehl@fsfe.org> Co-committed-by: Max Mehl <max.mehl@fsfe.org>
This commit was merged in pull request #2236.
This commit is contained in:
14
.drone.yml
14
.drone.yml
@@ -3,7 +3,7 @@ type: docker
|
||||
name: default
|
||||
|
||||
clone:
|
||||
depth: 50
|
||||
depth: 150
|
||||
|
||||
steps:
|
||||
- name: syntaxcheck
|
||||
@@ -11,7 +11,11 @@ steps:
|
||||
commands:
|
||||
- find . -type f \( -iname "*.xhtml" -o -iname "*.xml" -o -iname "*.xsl" \) -exec xmllint --noout {} +
|
||||
- bash tools/check-non-en-frontpage.sh news
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
- test
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
- test
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
Reference in New Issue
Block a user