Commit 27331d0b authored by Daniel Lenski's avatar Daniel Lenski

Try to generate static website using GitLab pages

Based on the example at https://gitlab.com/pages/plain-html, and ocserv's configuration (https://gitlab.com/openconnect/ocserv/blob/master/.gitlab-ci.yml)
Signed-off-by: default avatarDaniel Lenski <dlenski@gmail.com>
parent 859b76a9
......@@ -478,3 +478,20 @@ static-analyzer/OpenSSL/Fedora:
when: on_failure
paths:
- scan-build-src/*
# generate static website
pages:
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
stage: deploy
script:
- ./autogen.sh
- ./configure
- make -j4 -C www
- mv www public
dependencies:
- "Fedora/GnuTLS"
artifacts:
paths:
- public
only:
- master@openconnect/openconnect
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