From dc3d55efb4e6d5b9804e55c3b6cbd7276478b415 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Mon, 22 Jul 2019 16:04:00 -0400 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=9B=86=E6=88=90=E6=9E=84?= =?UTF-8?q?=E9=80=A0=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..89f566a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,40 @@ +language: java +install: true + +jdk: + - openjdk8 + +os: + - linux + +branches: + only: + - master + +cache: + directories: + - $HOME/.gradle + +before_install: + - chmod +x gradlew + + +before_script: + - git fetch + - git checkout -b gh-pages + - git merge origin/master + - git rm --cached --ignore-unmatch index.html + +script: + - ./gradlew asciidoctor + + +deploy: + provider: s3 + access_key_id: "$AWS_ACCESS_KEY" + secret_access_key: "$AWS_SECRET_KEY" + region: us-east-2 + bucket: "com.ossez.docs" + skip_cleanup: true + local_dir: build/asciidoc/html5 + upload-dir: akka-docs