We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e59eb89 commit 904501aCopy full SHA for 904501a
travis-ci/changefile.sh
@@ -2,17 +2,12 @@
2
YEAR=$(date +"%Y")
3
MONTH=$(date +"%m")
4
cd $TRAVIS_BUILD_DIR
5
-#sudo whoami
6
-#sudo chown root:root -R $TRAVIS_BUILD_DIR
7
-git remote -v
8
-#echo "First check of remote"
+#Remove Remotes Added by TravisCI
9
git remote rm origin
10
-#echo "Try removing remote"
11
12
-#echo "Second check of remote"
+#Add Remote with Secure Key
13
git remote add origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
+#List Remotes ONLY DURING testing - do not do this on live repo / possible key leak
14
git remote -v
15
-#echo "Third Check of Remote After Adding it"
16
#ls -la $TRAVIS_BUILD_DIR
17
#ls -la $TRAVIS_BUILD_DIR/.git
18
#git fetch origin master
0 commit comments