.gitlab-ci.yml 466 Bytes
Newer Older
David Haynes's avatar
David Haynes committed
1
2
3
4
image: node:4.2.6

build_css:
    before_script:
David Haynes's avatar
David Haynes committed
5
        - npm install -g grunt-cli
6
        - npm install
David Haynes's avatar
David Haynes committed
7
8
    script:
        - grunt swatch:masonstrap
9
10
    artifacts:
        paths:
11
            - masonstrap/masonstrap.min.css
David Haynes's avatar
David Haynes committed
12

13
14
15
16
pages:
    stage: deploy
    script:
    - mkdir .public
17
    - cp index.html masonstrap/masonstrap.min.css assets/css/custom.min.css .public
18
19
20
21
22
23
    - mv .public public
    artifacts:
        paths:
        - public
    only:
        - master