Update entrypoint.sh

This commit is contained in:
James Ives 2019-03-03 11:15:13 -05:00 committed by GitHub
parent 991a3028ec
commit b4173ea00f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,11 @@ git checkout master && \
git push $GITHUB_REPOSITORY $BRANCH:$BRANCH && \
# Builds the project if applicable.
eval $BUILD_SCRIPT && \
if [ -z "$BUILD_SCRIPT" ]
then
echo "This is now running $BUILD_SCRIPT"
eval "$BUILD_SCRIPT"
fi
# Commits the data to Github.
git add -f $FOLDER && \