Skip to content

Commit

Permalink
update to git clone
Browse files Browse the repository at this point in the history
  • Loading branch information
plumbis committed Mar 29, 2020
1 parent 0d0b54b commit a4ebd63
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,15 @@ if ! $INPUT_ALLOW_FORKS; then
fi
fi

git remote set-url origin https://x-access-token:${!INPUT_PUSH_TOKEN}@github.com/$GITHUB_REPOSITORY.git
git clone https://x-access-token:${!INPUT_PUSH_TOKEN}@github.com/$GITHUB_REPOSITORY.git
cd docs
git config --global user.name "$INPUT_USER_NAME"
git config --global user.email "$INPUT_USER_EMAIL"

set -o xtrace

git checkout $INPUT_TARGET_BRANCH

git fetch

# Do the merge
git merge origin/$INPUT_SOURCE_BRANCH

Expand Down

0 comments on commit a4ebd63

Please sign in to comment.