Skip to content

Commit b220718

Browse files
more messing with remote permissions error
1 parent d456fd2 commit b220718

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

travis-ci/changefile.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ MONTH=$(date +"%m")
44
cd $TRAVIS_BUILD_DIR
55
#sudo whoami
66
#sudo chown root:root -R $TRAVIS_BUILD_DIR
7-
#sudo git remote -v
8-
#sudo git remote rm origin
7+
sudo git remote -v
8+
sudo git remote rm origin
9+
sudo git remote -v
10+
sudo git remote add origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
911
sudo git config --global user.email "${GIT_EMAIL}"
1012
sudo git config --global user.name "${GIT_NAME}"
1113
sudo git config --global push.default simple

travis-ci/deploy2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cd $TRAVIS_BUILD_DIR
55
sudo git config --global user.email "${GIT_EMAIL}"
66
sudo git config --global user.name "${GIT_NAME}"
77
sudo git config --global push.default simple
8-
#sudo git remote add origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
8+
sudo git remote add origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
99
export GIT_TAG=V2.$YEAR-$MONTH.$TRAVIS_BUILD_NUMBER
1010
sudo git fetch --tags
1111
msg="Tag Generated from TravisCI for build $TRAVIS_BUILD_NUMBER"

0 commit comments

Comments
 (0)