mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Changing checkout
This commit is contained in:
parent
5116805986
commit
78d694b862
@ -22,10 +22,9 @@ cd $GITHUB_WORKSPACE && \
|
||||
git config --global user.email "${COMMIT_EMAIL:-gh-pages-deploy@jives.dev}" && \
|
||||
git config --global user.name "${COMMIT_NAME:-Github Pages Deploy}" && \
|
||||
git checkout "${BASE_BRANCH:-master}" && \
|
||||
git push $GITHUB_REPOSITORY $BRANCH:$BRANCH && \
|
||||
|
||||
# Builds the project if applicable.
|
||||
echo "This is now running $BUILD_SCRIPT"
|
||||
echo "Running build scripts... $BUILD_SCRIPT"
|
||||
eval "$BUILD_SCRIPT"
|
||||
|
||||
# Commits the data to Github.
|
||||
|
Loading…
Reference in New Issue
Block a user