mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
update post-receive
This commit is contained in:
parent
004a2b387a
commit
03935ac5db
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ die() {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if git diff --name-only $oldrev $newrev | grep "^mix.exs"; then
|
if git diff --name-only $oldrev $newrev | grep -Ee "^mix.(exs|lock)"; then
|
||||||
echo "Fetching deps"
|
echo "Fetching deps"
|
||||||
mix deps.get || die "mix failed to update"
|
mix deps.get || die "mix failed to update"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue