.gitlab-ci.yml 618 Bytes
Newer Older
okhin's avatar
okhin committed
1
2
job make:
        script:
okhin's avatar
okhin committed
3
4
                - virtualenv build-env
                - source build-env/bin/activate
okhin's avatar
okhin committed
5
6
                - pip install -U -r requirements
                - git submodule init
okhin's avatar
okhin committed
7
                - git submodule update
okhin's avatar
okhin committed
8
9
10
11
12
13
                - make html
        stage: build
        tags: [memopol]
        only:
                - master
        artifacts:
okhin's avatar
okhin committed
14
                paths:
okhin's avatar
okhin committed
15
                        - output/
16
17
18
19
20
21
        cache:
                paths:
                        - output/

job deploy:
        script:
okhin's avatar
okhin committed
22
                rsync -rlpDu ./output/ ${HOME_WWW}/
23
24
        only:
                - master