-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,8 +31,18 @@ ls -l latest | |
popd | ||
|
||
printf "\n>>>>> Committing new javadoc for commit: %s\n" ${GHA_COMMIT} | ||
printf "\n>>>>> Set and display user info" | ||
git config user.email "[email protected]" | ||
git config user.name "Deb Angst" | ||
var1=$(git config --get user.name) | ||
var2=$(git config --get user.email) | ||
printf "\n>>>>> user name %s\n" $var1 | ||
printf "\n>>>>> user email %s\n" $var2 | ||
printf "\n>>>>> Calling git add" | ||
git add -f . | ||
printf "\n>>>>> Calling git commit" | ||
git commit -m "chore: Javadoc for release ${GHA_TAG} (${GHA_COMMIT})" | ||
printf "\n>>>>> Calling git push" | ||
git push -f origin gh-pages | ||
|
||
popd | ||
|