Skip to content

Commit d9cdecf

Browse files
authored
commnet out gh pages publish (#19831)
1 parent b357744 commit d9cdecf

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.travis.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -201,18 +201,19 @@ after_success:
201201
echo "Pushed to $DOCKER_CODEGEN_CLI_IMAGE_NAME";
202202
fi;
203203
fi;
204+
## NOTE; we will do the followign manually instead as the page doesn't need to be updated in every single travis build
204205
## publish latest website, variables below are secure environment variables which are unavailable to PRs from forks.
205-
- if [ "$TRAVIS_BRANCH" = "master" ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
206-
sed -i "s/Vector{UInt8}/Vector\{UInt8\}/g" docs/generators/julia-client.md;
207-
sed -i "s/Vector{UInt8}/Vector\{UInt8\}/g" docs/generators/julia-server.md;
208-
cd website;
209-
git config --global user.name "${GH_NAME}";
210-
git config --global user.email "${GH_EMAIL}";
211-
echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc;
212-
yarn install;
213-
GIT_USER="${GH_NAME}" yarn run publish-gh-pages;
214-
fi;
215-
206+
# - if [ "$TRAVIS_BRANCH" = "master" ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
207+
# sed -i "s/Vector{UInt8}/Vector\{UInt8\}/g" docs/generators/julia-client.md;
208+
# sed -i "s/Vector{UInt8}/Vector\{UInt8\}/g" docs/generators/julia-server.md;
209+
# cd website;
210+
# git config --global user.name "${GH_NAME}";
211+
# git config --global user.email "${GH_EMAIL}";
212+
# echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc;
213+
# yarn install;
214+
# GIT_USER="${GH_NAME}" yarn run publish-gh-pages;
215+
# fi;
216+
#
216217
env:
217218
- 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
218219

0 commit comments

Comments
 (0)