Skip to content

Commit c7e8019

Browse files
don’t reclone repo, figure out detached head and how to merge it and push
1 parent 5fada83 commit c7e8019

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

travis-ci/deploy2.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
YEAR=$(date +"%Y")
33
MONTH=$(date +"%m")
44
cd $TRAVIS_BUILD_DIR
5-
git clone --depth=50 --branch=master https://github.com/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration.git mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration
6-
git reset --hard $sha1
5+
#git clone --depth=50 --branch=master https://github.com/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration.git mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration
6+
#git reset --hard $sha1
77
git config --global user.email "${GIT_EMAIL}"
88
git config --global user.name "${GIT_NAME}"
99
git config --global push.default simple

0 commit comments

Comments
 (0)