The web site is handled by a cron job; if we wanted to flip that
over to pull from gitlab instead of git.infradead.org it would
be simple enough to it. Let's keep it in the same place for now.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
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 -C www update
- dependencies: []
- artifacts:
- paths:
- - public
- only:
- - master
- only:
- - master@openconnect/openconnect
html_DATA = $(ALL_PAGES)
-update: $(ALL_PAGES)
- mkdir -p $(top_builddir)/public
- rsync -av ./ --exclude inc/ --exclude html.py --exclude 'Makefi*' --exclude '*~' --exclude '.git*' --exclude '*.inc' --exclude '*.xml' $(top_builddir)/public/
-
.xml.html:
$(PYTHON) $(CONV) -d $(srcdir) $< > $@ || (rm $@; exit 1)