Remove post push hook

This commit is contained in:
Donal McBreen
2023-05-22 15:06:05 +01:00
parent 0bc1fbfb74
commit 38023fe538
6 changed files with 2 additions and 36 deletions

View File

@@ -32,8 +32,6 @@ class Mrsk::Cli::Build < Mrsk::Cli::Base
end
end
end
run_hook "post-push"
end
end

View File

@@ -1,20 +0,0 @@
#!/bin/sh
# A sample post-push hook
#
# Checks:
# 1. We have a clean checkout
#
# These environment variables are available:
# MRSK_RECORDED_AT
# MRSK_PERFORMER
# MRSK_VERSION
# MRSK_DESTINATION (if set)
if [ -n "$(git status --porcelain)" ]; then
echo "Git checkout is not clean, aborting..."
git status --porcelain >&2
exit 1
fi
exit 0