File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -201,18 +201,19 @@ after_success:
201
201
echo "Pushed to $DOCKER_CODEGEN_CLI_IMAGE_NAME";
202
202
fi;
203
203
fi;
204
+ # # NOTE; we will do the followign manually instead as the page doesn't need to be updated in every single travis build
204
205
# # 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
+ #
216
217
env :
217
218
- 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
218
219
You can’t perform that action at this time.
0 commit comments