Testing doc script [2]

This commit is contained in:
Anuken 2020-06-14 18:51:38 -04:00
parent 5f79040faa
commit 0968f0be59
2 changed files with 3 additions and 3 deletions

View File

@ -20,9 +20,9 @@ script:
- "./gradlew test"
- "./gradlew desktop:dist -Pbuildversion=${TRAVIS_TAG:1}"
- "./gradlew server:dist -Pbuildversion=${TRAVIS_TAG:1}"
- "./gradlew javadoc"
- "./gradlew core:javadoc"
- cd ../
- git clone --depth=1 --branch=master https://github.com/MindustryGame/docs.git
- git clone --depth=1 https://github.com/MindustryGame/docs.git
- cp -a Mindustry/core/build/docs/javadoc/. docs/
- cd docs
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then git add .; git commit -m "Update ${TRAVIS_BUILD_NUMBER}"; git push https://Anuken:${GH_PUSH_TOKEN}@github.com/MindustryGame/docs; fi

View File

@ -1,3 +1,3 @@
org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m
archash=a6506a2f4dac967e549becad76d5ce2c094b6078
archash=9fadfb97c7270920c22ac75ee4815663df7efc3d