Skip to content

Commit a28772b

Browse files
authored
skip website push (#14573)
1 parent cffe2d0 commit a28772b

3 files changed

Lines changed: 28 additions & 12 deletions

File tree

.travis.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -216,14 +216,14 @@ after_success:
216216
fi;
217217
fi;
218218
## publish latest website, variables below are secure environment variables which are unavailable to PRs from forks.
219-
- if [ "$TRAVIS_BRANCH" = "master" ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
220-
cd website;
221-
git config --global user.name "${GH_NAME}";
222-
git config --global user.email "${GH_EMAIL}";
223-
echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc;
224-
yarn install;
225-
GIT_USER="${GH_NAME}" yarn run publish-gh-pages;
226-
fi;
219+
#- if [ "$TRAVIS_BRANCH" = "master" ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
220+
# cd website;
221+
# git config --global user.name "${GH_NAME}";
222+
# git config --global user.email "${GH_EMAIL}";
223+
# echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc;
224+
# yarn install;
225+
# GIT_USER="${GH_NAME}" yarn run publish-gh-pages;
226+
# fi;
227227

228228
env:
229229
- 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

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JetbrainsHttpClientClientCodegen.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package org.openapitools.codegen.languages;
218

319
import com.google.common.collect.ImmutableMap;

modules/openapi-generator/src/main/resources/META-INF/services/org.openapitools.codegen.CodegenConfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ org.openapitools.codegen.languages.JavascriptClientCodegen
7474
org.openapitools.codegen.languages.JavascriptApolloClientCodegen
7575
org.openapitools.codegen.languages.JavascriptFlowtypedClientCodegen
7676
org.openapitools.codegen.languages.JavascriptClosureAngularClientCodegen
77+
org.openapitools.codegen.languages.JetbrainsHttpClientClientCodegen
7778
org.openapitools.codegen.languages.JMeterClientCodegen
79+
org.openapitools.codegen.languages.JuliaClientCodegen
80+
org.openapitools.codegen.languages.JuliaServerCodegen
7881
org.openapitools.codegen.languages.K6ClientCodegen
7982
org.openapitools.codegen.languages.LuaClientCodegen
8083
org.openapitools.codegen.languages.MarkdownDocumentationCodegen
@@ -137,7 +140,4 @@ org.openapitools.codegen.languages.TypeScriptNestjsClientCodegen
137140
org.openapitools.codegen.languages.TypeScriptNodeClientCodegen
138141
org.openapitools.codegen.languages.TypeScriptReduxQueryClientCodegen
139142
org.openapitools.codegen.languages.TypeScriptRxjsClientCodegen
140-
org.openapitools.codegen.languages.WsdlSchemaCodegen
141-
org.openapitools.codegen.languages.JetbrainsHttpClientClientCodegen
142-
org.openapitools.codegen.languages.JuliaClientCodegen
143-
org.openapitools.codegen.languages.JuliaServerCodegen
143+
org.openapitools.codegen.languages.WsdlSchemaCodegen

0 commit comments

Comments
 (0)