mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Update entrypoint.sh
This commit is contained in:
parent
b4173ea00f
commit
edd3435c13
@ -25,11 +25,8 @@ git checkout master && \
|
|||||||
git push $GITHUB_REPOSITORY $BRANCH:$BRANCH && \
|
git push $GITHUB_REPOSITORY $BRANCH:$BRANCH && \
|
||||||
|
|
||||||
# Builds the project if applicable.
|
# Builds the project if applicable.
|
||||||
if [ -z "$BUILD_SCRIPT" ]
|
echo "This is now running $BUILD_SCRIPT"
|
||||||
then
|
eval "$BUILD_SCRIPT"
|
||||||
echo "This is now running $BUILD_SCRIPT"
|
|
||||||
eval "$BUILD_SCRIPT"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Commits the data to Github.
|
# Commits the data to Github.
|
||||||
git add -f $FOLDER && \
|
git add -f $FOLDER && \
|
||||||
|
Loading…
Reference in New Issue
Block a user