Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit ef36ba9

Browse files
committed
Add git user to deploy Action
1 parent 18a23d4 commit ef36ba9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.scripts/update-docs.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ set -ev
33

44
# Update the java-/scaladocs on https://github.com/codeoverflow-org/chatoverflow-gh-pages
55

6+
echo "Configuring git..."
7+
git config user.email "<>"
8+
git config user.name "Github Actions"
9+
610
echo "Cloning docs repo..."
711
git clone https://${REPO_TOKEN}@github.com/codeoverflow-org/chatoverflow-gh-pages --branch master --single-branch --depth 1 docs
812

@@ -14,4 +18,4 @@ cd docs
1418
echo "Updating wiki..."
1519
git add .
1620
git commit --message "Deployed doc (Action build $GITHUB_ACTION)"
17-
git push --force origin master
21+
git push --force origin master

0 commit comments

Comments
 (0)