forked from NESCent/popgenInfo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcircle.yml
37 lines (32 loc) · 809 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
35
36
37
machine:
services:
- docker
general:
branches:
ignore:
- gh-pages
dependencies:
override:
- cd build && docker build -t rocker/popgen - < Dockerfile
checkout:
post:
- git config user.name "Hilmar Lapp"
- git config user.email "[email protected]"
test:
override:
- make html
deployment:
production:
branch: master
commands:
- make deploy
- make clean
- git checkout gh-pages
- rm -r *
- git checkout master -- circle.yml
- git checkout gh-pages -- CNAME
- tar xvf .site.tar
- git add --all
- git commit -m "Website rebuild"
- git push origin gh-pages
- git checkout master