Drone | check database.sql
This commit is contained in:
parent
5fa633eb39
commit
41d4f4183f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user