File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,15 +201,17 @@ after_success:
201201 echo "Pushed to $DOCKER_CODEGEN_CLI_IMAGE_NAME";
202202 fi;
203203 fi;
204- # 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- # cd website;
207- # git config --global user.name "${GH_NAME}";
208- # git config --global user.email "${GH_EMAIL}";
209- # echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc;
210- # yarn install;
211- # GIT_USER="${GH_NAME}" yarn run publish-gh-pages;
212- # fi;
204+ 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;
213215
214216env :
215217 - 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
You can’t perform that action at this time.
0 commit comments