diff --git a/entrypoint.sh b/entrypoint.sh index 3732857..3728f2a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,18 +6,8 @@ cd .. git clone https://$STOPLIGHT_USERNAME:$STOPLIGHT_GIT_TOKEN@git.stoplight.io/$STOPLIGHT_ORG/$STOPLIGHT_PROJECT.git -echo -echo "-- Environment --------------------------------------------------------" -env -echo "-----------------------------------------------------------------------" - -# git config --global user.email "Your@email.com" -# git config --global user.name "Your Name" - -echo -echo "-- File system --------------------------------------------------------" -tree -echo "-----------------------------------------------------------------------" +git config --global user.email $GIT_USER_EMAIL +git config --global user.name $GIT_USER_NAME cp ./workspace/$HUB_FILEPATH ./$STOPLIGHT_PROJECT/$HUB_FILEPATH