From 554056c1998e4d9f45b447b1c87e42ac7f056c2e Mon Sep 17 00:00:00 2001 From: Meow J Date: Fri, 8 Jul 2016 15:40:28 +0800 Subject: [PATCH] Auto deployment --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 21c9696..d1c6626 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ install: - python setup.py install script: - - mkdocs build + - mkdocs build --clean after_success: | if [ -n "$GITHUB_API_KEY" ]; then @@ -17,6 +17,6 @@ after_success: | git init git add . git -c user.name='travis' -c user.email='travis' commit -m "update" - git push -f -q https://Meow-J:$GITHUB_API_KEY@github.com/LearnOpenGL-CN/learnopengl-cn.github.io master &2>/dev/null + git push -f -q https://Meow-J:$GITHUB_API_KEY@github.com/LearnOpenGL-CN/learnopengl-cn.github.io master cd "$TRAVIS_BUILD_DIR" fi \ No newline at end of file