attempting with gh-deploy --force

This commit is contained in:
Marius Pana 2017-01-13 20:55:38 +02:00
parent b04215d466
commit 5ddfe05a05
1 changed files with 4 additions and 4 deletions

View File

@ -11,12 +11,12 @@ script:
- git remote add gh-pages https://$GITHUB_API_KEY@github.com/spearheadsys/issue-response-docs.git
- git fetch gh-pages
after_success:
- git config credential.helper "store --file=.git/credentials"
- echo "https://${GITHUB_API_KEY}:@github.com" > .git/credentials
- node ./node_modules/grunt-cli/bin/grunt release
# - git config credential.helper "store --file=.git/credentials"
# - echo "https://${GITHUB_API_KEY}:@github.com" > .git/credentials
# - node ./node_modules/grunt-cli/bin/grunt release
if [ -n "$GITHUB_API_KEY" ]; then
cd "$TRAVIS_BUILD_DIR"
mkdocs gh-deploy -v --clean
mkdocs gh-deploy --force
fi
env: