attempting with gh-deploy --force
This commit is contained in:
parent
b04215d466
commit
5ddfe05a05
@ -11,12 +11,12 @@ script:
|
|||||||
- git remote add gh-pages https://$GITHUB_API_KEY@github.com/spearheadsys/issue-response-docs.git
|
- git remote add gh-pages https://$GITHUB_API_KEY@github.com/spearheadsys/issue-response-docs.git
|
||||||
- git fetch gh-pages
|
- git fetch gh-pages
|
||||||
after_success:
|
after_success:
|
||||||
- git config credential.helper "store --file=.git/credentials"
|
# - git config credential.helper "store --file=.git/credentials"
|
||||||
- echo "https://${GITHUB_API_KEY}:@github.com" > .git/credentials
|
# - echo "https://${GITHUB_API_KEY}:@github.com" > .git/credentials
|
||||||
- node ./node_modules/grunt-cli/bin/grunt release
|
# - node ./node_modules/grunt-cli/bin/grunt release
|
||||||
if [ -n "$GITHUB_API_KEY" ]; then
|
if [ -n "$GITHUB_API_KEY" ]; then
|
||||||
cd "$TRAVIS_BUILD_DIR"
|
cd "$TRAVIS_BUILD_DIR"
|
||||||
mkdocs gh-deploy -v --clean
|
mkdocs gh-deploy --force
|
||||||
fi
|
fi
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user