Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
ParlementairesJS
Commits
347383b6
Commit
347383b6
authored
Jan 01, 2023
by
Bastien Le Querrec
Browse files
add pages
parent
f4478b56
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
347383b6
...
...
@@ -5,27 +5,36 @@ variables:
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 curl unzip postgresql sudo
-
useradd builder
-
pip3 install yq
-
publish
build
:
stage
:
build
script
:
-
apt-get update
-
apt-get install --no-install-recommends -y make jq python3 python3-dev python3-pip python3-setuptools python3-wheel curl unzip postgresql sudo
-
useradd builder
-
pip3 install yq
-
sudo -u builder PATH="/usr/lib/postgresql/13/bin:$PATH" make
-
mkdir -p parlementairesjs-${CI_COMMIT_SHORT_SHA}/data/
-
cp -L -r icons 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}/
-
cp -L -r demo.html parlementairesjs-${CI_COMMIT_SHORT_SHA}/
-
cp -L -r iframe.html parlementairesjs-${CI_COMMIT_SHORT_SHA}/
-
cp -L -r data/gen parlementairesjs-${CI_COMMIT_SHORT_SHA}/data/
-
mkdir -p parlementairesjs-${CI_COMMIT_SHORT_SHA}/
-
cp -L -r data/gen/* parlementairesjs-${CI_COMMIT_SHORT_SHA}/
artifacts
:
paths
:
-
parlementairesjs-${CI_COMMIT_SHORT_SHA}/
only
:
-
main
pages
:
stage
:
publish
script
:
-
mkdir -p public/data/
-
mv parlementairesjs-${CI_COMMIT_SHORT_SHA} public/data/gen
-
cp -L -r icons public/
-
cp -L -r parlementaires.css public/
-
cp -L -r parlementaires.js public/
-
cp -L -r demo.html public/
-
cp -L -r iframe.html public/
artifacts
:
paths
:
-
public/
only
:
-
main
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment