Skip to content

Commit 6fa2b82

Browse files
try re cloning repo and resetting detached head
1 parent a98ee58 commit 6fa2b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

travis-ci/deploy2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
YEAR=$(date +"%Y")
33
MONTH=$(date +"%m")
44
cd $TRAVIS_BUILD_DIR
5-
git clone --branch=$branch $repo
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
66
git reset --hard $sha1
77
git config --global user.email "${GIT_EMAIL}"
88
git config --global user.name "${GIT_NAME}"

0 commit comments

Comments
 (0)