mirror of
https://github.com/ncarlier/webhookd.git
synced 2024-09-20 08:55:28 +00:00
chore: Add logs.
This commit is contained in:
parent
80b82e4ec7
commit
cd6179e9d4
|
@ -32,6 +32,7 @@ fi
|
||||||
rm -rf $APP_WORKING_DIR/$REF_NAME
|
rm -rf $APP_WORKING_DIR/$REF_NAME
|
||||||
|
|
||||||
# Clone repository
|
# Clone repository
|
||||||
|
echo "Cloning $GIT_URL into ${APP_WORKING_DIR}/${REF_NAME} ..."
|
||||||
ssh-agent bash -c 'ssh-add ${DEPLOY_KEY}; git clone --depth 1 ${GIT_URL} ${APP_WORKING_DIR}/${REF_NAME}'
|
ssh-agent bash -c 'ssh-add ${DEPLOY_KEY}; git clone --depth 1 ${GIT_URL} ${APP_WORKING_DIR}/${REF_NAME}'
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
echo "Error, unable to clone repository"
|
echo "Error, unable to clone repository"
|
||||||
|
@ -39,6 +40,7 @@ if [ $? != 0 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Build Docke image
|
# Build Docke image
|
||||||
|
echo "Building image ..."
|
||||||
make -C $APP_WORKING_DIR/$REF_NAME
|
make -C $APP_WORKING_DIR/$REF_NAME
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
echo "Error, unable to build Docker image"
|
echo "Error, unable to build Docker image"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user