Commit fd0580fb authored by François Bobot's avatar 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
...@@ -34,12 +34,13 @@ test: ...@@ -34,12 +34,13 @@ test:
stage: test stage: test
script: script:
- bundle exec jekyll build -d test --future - bundle exec jekyll build -d test --future
- ./download_doc.sh test
artifacts: artifacts:
paths: paths:
- test - test
expire_in: 1 month expire_in: 1 month
except: except:
- master - colibri
tags: tags:
- docker - docker
...@@ -54,7 +55,7 @@ check-css: ...@@ -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; - 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 allow_failure: true
except: except:
- master - colibri
tags: tags:
- docker - docker
...@@ -62,15 +63,12 @@ pages: ...@@ -62,15 +63,12 @@ pages:
stage: deploy stage: deploy
script: script:
- JEKYLL_ENV="production" bundle exec jekyll build -d public --future - 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]" - ./download_doc.sh public
- mkdir -p public/html/doc/
- tar -C public/html/doc/ -xf farith2_doc.tar.gz
- mv public/html/doc/farith2 public/html/doc/farith
artifacts: artifacts:
paths: paths:
- public - public
expire_in: 1 month expire_in: 1 month
only: only:
- master - colibri
tags: tags:
- docker - docker
#!/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
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