Skip to content

Commit

Permalink
Try to generate static website using GitLab pages
Browse files Browse the repository at this point in the history
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: Daniel Lenski <dlenski@gmail.com>
  • Loading branch information
dlenski committed Feb 20, 2021
1 parent 859b76a commit 27331d0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitlab-ci.yml
Expand Up @@ -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

0 comments on commit 27331d0

Please sign in to comment.