Skip to content

Commit

Permalink
Update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
heqin-zhu committed Mar 7, 2019
1 parent 07a43e4 commit a66c4ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ after_script:
# Build Master Repository(Coding Pages)
- git config user.name "mbinary"
- git config user.email "[email protected]"
- git add docs
- cd docs
- git init
- git remote add origin [email protected]:USTC-Resource/USTC-Course.git
- git add --all
- git commit -m "Travis-CI Update pages with build $TRAVIS_BUILD_NUMBER"
- git push -f "https://${GH_TOKEN}@${GH_REF}" master:master
- git push -f "https://${GH_TOKEN}@${GH_REF}" master:gh-pages

addons:
apt:
Expand Down
1 change: 0 additions & 1 deletion utils/genIndex.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ def genIndex(path,dirs,files,htmlTemp = HTML):
cur = getPath(path)
dirLst = genDirectoryList(path,dirs)
fileLst = genFileList(path,files)
print(path)
cont = htmlTemp.format(DOWNLOAD=path,cur=cur,dirLst = dirLst,fileLst = fileLst,readme=md2html(md))
tar = os.path.join(TARDIR ,path)
if not os.path.exists(tar):os.mkdir(tar)
Expand Down

0 comments on commit a66c4ba

Please sign in to comment.