This repository has been archived by the owner on Dec 26, 2022. It is now read-only.
forked from flef/Incipio
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor improvements in bash deploy scripts
- Loading branch information
Showing
2 changed files
with
18 additions
and
4 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,14 +16,19 @@ configTravis() { | |
if [[ -z "$GITHUB_USER_NAME" ]] || [[ -z "$GITHUB_USER_EMAIL" ]]; then | ||
log "Could not configure Git user" --error | ||
else | ||
GITHUB_USER_NAME="TravisBot" | ||
GH_USER_EMAIL="[email protected]" | ||
echo " user: $GITHUB_USER_NAME" | ||
echo " temail: $GITHUB_USER_EMAIL" | ||
|
||
git config --global user.name "$GITHUB_USER_NAME" | ||
git config --global user.email "$GITHUB_USER_EMAIL" | ||
fi | ||
|
||
log "Install necessary packages"; | ||
pip install ghp-import --user | ||
echo "install mkdocs --user" | ||
pip install mkdocs --user | ||
echo "global require halleck45/phpmetrics --no-update" | ||
composer global require halleck45/phpmetrics --no-update | ||
echo "composer global require apigen/apigen --no-update" | ||
composer global require apigen/apigen --no-update | ||
|
||
log "Deployment configuration read" --success | ||
|
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