.gitlab-ci.yml 476 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
        - cp masonstrap/masonstrap.min.css ../
10
11
    artifacts:
        paths:
12
            - masonstrap/masonstrap.min.css
David Haynes's avatar
David Haynes committed
13

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