Skip to content

Commit 904501a

Browse files
start cleaning up script files in prep for moving this all to live repo
1 parent e59eb89 commit 904501a

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

travis-ci/changefile.sh

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,12 @@
22
YEAR=$(date +"%Y")
33
MONTH=$(date +"%m")
44
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"
5+
#Remove Remotes Added by TravisCI
96
git remote rm origin
10-
#echo "Try removing remote"
11-
git remote -v
12-
#echo "Second check of remote"
7+
#Add Remote with Secure Key
138
git remote add origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
9+
#List Remotes ONLY DURING testing - do not do this on live repo / possible key leak
1410
git remote -v
15-
#echo "Third Check of Remote After Adding it"
1611
#ls -la $TRAVIS_BUILD_DIR
1712
#ls -la $TRAVIS_BUILD_DIR/.git
1813
#git fetch origin master

0 commit comments

Comments
 (0)