Drone | check database.sql

This commit is contained in:
Philipp Holzer 2021-11-07 23:40:45 +01:00
parent 5fa633eb39
commit 41d4f4183f
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432

View file

@ -175,13 +175,13 @@ steps:
files:
- clover.xml
- name: Check database.sql
image: alpine
image: alpine/git
commands:
- git update-index --refresh
- git diff-index --quiet HEAD --
- if [[ $? -ne 0 ]]; then
echo "database.sql mismatch.";
exit 1;
echo "database.sql mismatch.";
exit 1;
fi
services: