Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
Colibri WebSite
Commits
fd0580fb
Commit
fd0580fb
authored
Aug 19, 2021
by
François Bobot
Browse files
[COLIBRI] colibri is the default branch for colibri website
parent
df458a55
Pipeline
#37259
passed with stages
in 1 minute and 50 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
fd0580fb
...
...
@@ -34,12 +34,13 @@ test:
stage
:
test
script
:
-
bundle exec jekyll build -d test --future
-
./download_doc.sh test
artifacts
:
paths
:
-
test
expire_in
:
1 month
except
:
-
master
-
colibri
tags
:
-
docker
...
...
@@ -54,7 +55,7 @@ check-css:
-
if [ $(grep "PurifyCSS" del-classes.o | wc -l) = 0 ]; then echo "No CSS to clean"; else cat del-classes.o; exit 1; fi;
allow_failure
:
true
except
:
-
master
-
colibri
tags
:
-
docker
...
...
@@ -62,15 +63,12 @@ pages:
stage
:
deploy
script
:
-
JEKYLL_ENV="production" bundle exec jekyll build -d public --future
-
wget -O farith2_doc.tar.gz "https://git.frama-c.com/pub/colibrics/-/jobs/artifacts/master/raw/farith2_doc.tar.gz?job=generate-static:%20[4.12.0]"
-
mkdir -p public/html/doc/
-
tar -C public/html/doc/ -xf farith2_doc.tar.gz
-
mv public/html/doc/farith2 public/html/doc/farith
-
./download_doc.sh public
artifacts
:
paths
:
-
public
expire_in
:
1 month
only
:
-
master
-
colibri
tags
:
-
docker
download_doc.sh
0 → 100755
View file @
fd0580fb
#!/bin/sh -eux
ROOT
=
$1
wget
-O
farith2_doc.tar.gz
"https://git.frama-c.com/pub/colibrics/-/jobs/artifacts/master/raw/farith2_doc.tar.gz?job=generate-static:%20[4.12.0]"
mkdir
-p
$ROOT
/html/doc/
tar
-C
$ROOT
/html/doc/
-xf
farith2_doc.tar.gz
mv
$ROOT
/html/doc/farith2
$ROOT
/html/doc/farith
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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