From d9cdecf3c3d72d50a01ef7b4d77e5e10828b604f Mon Sep 17 00:00:00 2001 From: William Cheng Date: Thu, 10 Oct 2024 15:38:22 +0800 Subject: [PATCH] commnet out gh pages publish (#19831) --- .travis.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 52f6cec9a072..d6e2888db441 100644 --- a/.travis.yml +++ b/.travis.yml @@ -201,18 +201,19 @@ after_success: echo "Pushed to $DOCKER_CODEGEN_CLI_IMAGE_NAME"; fi; fi; + ## NOTE; we will do the followign manually instead as the page doesn't need to be updated in every single travis build ## 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 - sed -i "s/Vector{UInt8}/Vector\{UInt8\}/g" docs/generators/julia-client.md; - sed -i "s/Vector{UInt8}/Vector\{UInt8\}/g" docs/generators/julia-server.md; - 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 + # sed -i "s/Vector{UInt8}/Vector\{UInt8\}/g" docs/generators/julia-client.md; + # sed -i "s/Vector{UInt8}/Vector\{UInt8\}/g" docs/generators/julia-server.md; + # 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