Optional Build script

This commit is contained in:
James Ives 2019-03-03 10:07:27 -05:00 committed by GitHub
parent 0094c660b2
commit 1df176a401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,8 +23,11 @@ git config --global user.name "${COMMIT_NAME:-Github Pages Deploy}" && \
git checkout master && \
git push $GITHUB_REPOSITORY $BRANCH:$BRANCH && \
# Builds the project.
$BUILD_SCRIPT && \
# Builds the project if applicable.
if [ -z "$BUILD_SCRIPT" ]
then
$BUILD_SCRIPT && \
fi
# Commits the data to Github.
git add -f $FOLDER &&