mirror of
https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git
synced 2025-08-22 20:25:28 +08:00
remove travis ci config
This commit is contained in:
23
.travis.yml
23
.travis.yml
@@ -1,23 +0,0 @@
|
||||
language: python
|
||||
|
||||
python:
|
||||
- 3.4
|
||||
|
||||
install:
|
||||
- pip install PyYAML==5.1.2
|
||||
- pip install mkdocs==0.16.3
|
||||
- python setup.py install
|
||||
|
||||
script:
|
||||
- mkdocs build --clean
|
||||
|
||||
after_success: |
|
||||
if [ -n "$GITHUB_API_KEY" ]; then
|
||||
cd "$TRAVIS_BUILD_DIR"
|
||||
cd site
|
||||
git init
|
||||
git add .
|
||||
git -c user.name=$GITHUB_MEOWJ_NAME -c user.email=$GITHUB_MEOWJ_EMAIL commit -m "Auto Deployment"
|
||||
git push -f -q https://Krasjet:$GITHUB_API_KEY@github.com/LearnOpenGL-CN/learnopengl-cn.github.io master
|
||||
cd "$TRAVIS_BUILD_DIR"
|
||||
fi
|
Reference in New Issue
Block a user