-
Notifications
You must be signed in to change notification settings - Fork 1
/
circle.yml
35 lines (32 loc) · 886 Bytes
/
circle.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
version: 2.0
jobs:
build:
docker:
- image: paperist/alpine-texlive-ja
steps:
- checkout
- run:
name: Compile & Make pdf
command: |
cd C92 &&
uplatex content.tex &&
dvipdfm content.dvi &&
cd ..
- run:
name: setup git
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
apk add --no-cache bash git openssh
mkdir ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
fi
- deploy:
name: Deploy nodels
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
echo "_人人人人_" &&
echo "> 更新 <" &&
echo " ̄Y^Y^Y^Y ̄" &&
echo "" &&
./tools/auto-commit.sh
fi