.gitlab-ci.yml 424 Bytes
Newer Older
1
image: node:8.9.4
Duhoux Pierre-Louis's avatar
Duhoux Pierre-Louis committed
2 3 4 5 6 7

stages:
    - build
    - package

build:
8
    stage: build
9
    script: node ./update-ws.js
10 11 12 13 14
    artifacts:
        paths:
            - ./
        expire_in: 1 day
        
15
mirrors-repo:
Duhoux Pierre-Louis's avatar
Duhoux Pierre-Louis committed
16 17
    stage: package
    script:
18
        - tar -czvf mirrors.tar.gz websites.json mirrors/*
Duhoux Pierre-Louis's avatar
Duhoux Pierre-Louis committed
19 20
    artifacts:
        paths:
21
            - mirrors.tar.gz
Duhoux Pierre-Louis's avatar
Duhoux Pierre-Louis committed
22 23 24 25 26
        expire_in: 1 week
    dependencies:
        - build