diff --git a/.travis.yml b/.travis.yml index 2bd3d148d23..3598d19172d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -216,14 +216,14 @@ after_success: fi; fi; # publish latest website, variables below are secure environment variables which are unavailable to PRs from forks. - - if [ "$TRAVIS_BRANCH" = "master" ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then - cd website; - git config --global user.name "${GH_NAME}"; - git config --global user.email "${GH_EMAIL}"; - echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc; - yarn install; - GIT_USER="${GH_NAME}" yarn run publish-gh-pages; - fi; + #- if [ "$TRAVIS_BRANCH" = "master" ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then + # cd website; + # git config --global user.name "${GH_NAME}"; + # git config --global user.email "${GH_EMAIL}"; + # echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc; + # yarn install; + # GIT_USER="${GH_NAME}" yarn run publish-gh-pages; + # fi; env: - DOCKER_GENERATOR_IMAGE_NAME=openapitools/openapi-generator-online DOCKER_CODEGEN_CLI_IMAGE_NAME=openapitools/openapi-generator-cli NODE_ENV=test CC=gcc-5 CXX=g++-5 diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 71f256edf45..dd0d10d703f 100755 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -20,6 +20,7 @@ const docusaurusConfig = { favicon: 'img/favicon.png', organizationName: 'OpenAPITools', projectName: 'openapi-generator', + onBrokenLinks: 'ignore', // // You may provide arbitrary config keys to be used as needed by your // // template. For example, if you need your repo's URL...