Index: /applications/editors/josm/plugins/mapillary/.travis.yml
===================================================================
--- /applications/editors/josm/plugins/mapillary/.travis.yml	(revision 32335)
+++ /applications/editors/josm/plugins/mapillary/.travis.yml	(revision 32336)
@@ -27,10 +27,15 @@
     tags: true
 
-#Deploy to GitHub pages
+# Deploy to GitHub pages
 after_script: |
-  if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]; then
+  if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_JDK_VERSION" == "openjdk8" ]; then
     git config --global user.email "deploy@travis"
     git config --global user.name "Travis CI"
-    git remote add deploy "https://floscher:${GH_TOKEN}@github.com/floscher/josm-mapillary-plugin.git"
+
+    # Prevent printout of credentials
+    git config --global credential.helper store
+    echo "https://${GH_USERNAME}:${GH_TOKEN}@github.com" > $HOME/.git-credentials
+
+    git remote add deploy "https://github.com/floscher/josm-mapillary-plugin.git"
     git fetch --depth=1 origin gh-pages:gh-pages
     git checkout gh-pages
@@ -46,5 +51,7 @@
 
   These resources are generated by Travis CI for commit $masterCommit using Gradle."
-    git push --quiet deploy gh-pages 1>/dev/null 2>&1
+    git push deploy gh-pages
+  else
+    echo "This is branch $TRAVIS_BRANCH with JDK $TRAVIS_JDK_VERSION, developer resources are only published with openjdk8 on branch master."
   fi
 
