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
97d1e6986a
commit
f011a5dcc8
@ -25,10 +25,7 @@ git checkout master && \
|
||||
git push $GITHUB_REPOSITORY $BRANCH:$BRANCH && \
|
||||
|
||||
# Builds the project if applicable.
|
||||
if [ -z "$BUILD_SCRIPT" ]
|
||||
then
|
||||
eval "$BUILD_SCRIPT"
|
||||
fi
|
||||
eval "$BUILD_SCRIPT" && \
|
||||
|
||||
# Commits the data to Github.
|
||||
git add -f $FOLDER && \
|
||||
|
Loading…
Reference in New Issue
Block a user