Skip to content

Commit 25dcf30

Browse files
committed
Update travis
1 parent d359420 commit 25dcf30

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,9 @@ after_script:
2424
# Build Master Repository(Coding Pages)
2525
- git config user.name "mbinary"
2626
- git config user.email "zhuheqin1@gmail.com"
27-
- cd docs
28-
- git init
29-
- git remote add origin gh-pages https://github.com/USTC-Resource/USTC-Course
30-
- git add --all
27+
- git add docs
3128
- git commit -m "Travis-CI Update pages with build $TRAVIS_BUILD_NUMBER"
32-
- git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" origin gh-pages
29+
- git push -f "https://${GH_TOKEN}@${GH_REF}" origin master
3330

3431
addons:
3532
apt:

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
12
# 中国科学技术大学课程资源
23
[![Stars](https://img.shields.io/github/stars/USTC-Resource/USTC-Course.svg?label=Stars&style=social)](https://github.com/USTC-Resource/USTC-Course/stargazers)
34
[![Forks](https://img.shields.io/github/forks/USTC-Resource/USTC-Course.svg?label=Forks&style=social)](https://github.com/USTC-Resource/USTC-Course/network/members)
5+
[![Build](https://travis-ci.org/USTC-Resource/USTC-Course.svg?branch=master)](https://travis-ci.org/USTC-Resource/USTC-Course?branch=master)
46
[![repo-size](https://img.shields.io/github/repo-size/USTC-Resource/USTC-Course.svg)]()
57
[![License](https://i.creativecommons.org/l/by-nc-sa/4.0/80x15.png)](http://creativecommons.org/licenses/by-nc-sa/4.0/)
68

0 commit comments

Comments
 (0)