Commit f33b0867 authored by Florian Schäfer's avatar Florian Schäfer

Only publish JOSM update site on master branch

parent f444e525
......@@ -63,6 +63,7 @@ jobs:
path: ./build/tmp/jar/MANIFEST.MF
destination: dist/MANIFEST.MF
- run: |
if [ "$CIRCLE_BRANCH" == "master" ]; then
git fetch origin gh-pages
git checkout gh-pages
cp ./build/pluginMasterSnapshots .
......@@ -71,6 +72,7 @@ jobs:
git config "deploy@circleci"
git commit -m "[ci skip] Update plugin update site for JOSM with latest version from master branch"
git push -q https://${GITHUB_TOKEN} gh-pages > /dev/null 2>&1
docker: *jdk8_image
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment