-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (25 loc) · 726 Bytes
/
.travis.yml
File metadata and controls
32 lines (25 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: java
jdk:
- oraclejdk8
os:
- linux
branches:
only:
- master
cache:
directories:
- $HOME/.gradle
before_install:
script:
- ./gradlew clean asciidoctor -i
- cd ..
- git clone --branch=gh-pages git://github.com/danhyun/gr8conf-eu-2015-contribute-to-gr8tech.git gh-pages
- cd gh-pages
- git config user.email "danhyun@users.noreply.github.com"
- git config user.name "Dan hyun"
- git rm -r -f -q . --ignore-unmatch
# - rm -rf .
- mv ../gr8conf-eu-2015-contribute-to-gr8tech/build/asciidoc/revealjs/* .
- git add .
- git commit -m "Publishing github pages"
- git push "https://${GH_TOKEN}@github.com/danhyun/gr8conf-eu-2015-contribute-to-gr8tech.git" gh-pages > /dev/null 2>&1