Skip to content

Commit e97e184

Browse files
committed
Add github token to push changes back to github
1 parent 6641bb4 commit e97e184

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<maven.compiler.source>${java.version}</maven.compiler.source>
2525
<maven.compiler.target>${java.version}</maven.compiler.target>
2626
<useReleaseProfile>false</useReleaseProfile>
27-
<GITHUB_TOKEN></GITHUB_TOKEN>
27+
<project.scm.id>github</project.scm.id>
2828
</properties>
2929

3030
<dependencies>
@@ -247,8 +247,8 @@
247247
</repository>
248248
</distributionManagement>
249249
<scm>
250-
<connection>scm:git:https://${GITHUB_TOKEN}@github.com/graphql-java-kickstart/graphql-java-tools.git</connection>
251-
<developerConnection>scm:git:https://${GITHUB_TOKEN}@github.com/graphql-java-kickstart/graphql-java-tools.git</developerConnection>
250+
<connection>scm:git:git://github.com/graphql-java-kickstart/graphql-java-tools.git</connection>
251+
<developerConnection>scm:git:git@github.com:graphql-java-kickstart/graphql-java-tools.git</developerConnection>
252252
<url>https://github.com/graphql-java-kickstart/graphql-java-tools</url>
253253
<tag>HEAD</tag>
254254
</scm>

travis-build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ saveMavenSettings() {
1414
<username>${BINTRAY_USER}</username>
1515
<password>${BINTRAY_PASS}</password>
1616
</server>
17+
<server>
18+
<id>github</id>
19+
<username>${GITHUB_USER}</username>
20+
<password>${GITHUB_TOKEN}</username>
21+
</server>
1722
</servers>
1823
</settings>
1924
EOL

0 commit comments

Comments
 (0)