Commit ccdcdac7 authored by Bastien Le Querrec's avatar Bastien Le Querrec
Browse files

enable CI

parent cfb9732c
Pipeline #2782 passed with stage
in 43 seconds
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}/
- 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
......@@ -2,3 +2,5 @@ an:
mkdir -p json/
yq -c -s . data/an/*.yml > json/an.json
yq -c . data/an.yml > json/an-config.json
all: an
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment