-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (52 loc) · 5.64 KB
/
.travis.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: ruby
rvm:
- 2.6
install:
- gem install asciidoctor
- asciidoctor --version
- gem install --pre asciidoctor-pdf
- asciidoctor-pdf --version
before_script:
- git config --global user.email $GIT_EMAIL
- git config --global user.name $GIT_NAME
script:
- mkdir build
- asciidoctor cf-conventions.adoc -D build
- asciidoctor-pdf -d book cf-conventions.adoc -D build
after_success:
# Always update the "gh-pages" branch, but tag build goes into
# tag directory and normal build goes into the root directory.
- git fetch origin gh-pages:gh-pages
- git checkout gh-pages
- if [[ $TRAVIS_TAG ]]; then
TARGET_DIR=$TRAVIS_TAG;
else
TARGET_DIR='.';
fi
- mkdir -p $TARGET_DIR
- cp build/cf-conventions.html $TARGET_DIR/
- cp build/cf-conventions.pdf $TARGET_DIR/
- git add $TARGET_DIR/cf-conventions.html
- git add $TARGET_DIR/cf-conventions.pdf
- git add $TARGET_DIR/NFFFFFF-1.0.png
- if [[ $TRAVIS_TAG ]]; then
sed s/Latest/$TRAVIS_TAG/ index.html > $TARGET_DIR/index.html;
git add $TARGET_DIR/index.html;
fi
- git commit -m "Auto-generated from ${TRAVIS_REPO_SLUG}@${TRAVIS_COMMIT}"
- git push https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages >/dev/null 2>&1
branches:
only:
- master
# Build tags such as "v1.6"
- /^v\d+\.\d+/
env:
global:
# Values for cf-conventions-bot/cf-conventions
- secure: "d+R5tzKSdhytTnjrIW3oAqEnoiVY1I/pqcfNQDBrHDNE+FuCuaGCvjrQuRCil50SAMiZ0/80aN8t9I7iwY2hCcUGJoyfgzTjPi/x0RytcQR4q5qylJw33L3Va1r7g91Y7Fi78c5rXLqXZf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