.gitlab-ci.yml 791 Bytes
Newer Older
Bastien Le Querrec's avatar
Bastien Le Querrec committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
image: debian:buster

variables:
  DEBIAN_FRONTEND: noninteractive

stages:
  - build

before_script:
  - apt-get update
  - apt-get install --no-install-recommends -y make jq python3 python3-dev python3-pip python3-setuptools python3-wheel
  - pip3 install yq

build:
  stage: build
  script:
    - make all
    - mkdir -p parlementairesjs-${CI_COMMIT_SHORT_SHA}/
    - cp -L -r icons parlementairesjs-${CI_COMMIT_SHORT_SHA}/
20
    - cp -L -r images parlementairesjs-${CI_COMMIT_SHORT_SHA}/
Bastien Le Querrec's avatar
Bastien Le Querrec committed
21
22
23
24
25
26
27
28
29
    - cp -L -r json parlementairesjs-${CI_COMMIT_SHORT_SHA}/
    - cp -L -r parlementaires.css parlementairesjs-${CI_COMMIT_SHORT_SHA}/
    - cp -L -r parlementaires.js parlementairesjs-${CI_COMMIT_SHORT_SHA}/
  artifacts:
    paths:
    - parlementairesjs-${CI_COMMIT_SHORT_SHA}/
  only:
  - master