From: Erik Skultety Date: Thu, 24 Aug 2023 13:49:19 +0000 (+0200) Subject: ci: build.sh: Add a wrapper function over the 'website' job X-Git-Tag: v9.8.0-rc1~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe9f788812a876a9b3d68bded0dd7dd4b4c7468b;p=thirdparty%2Flibvirt.git ci: build.sh: Add a wrapper function over the 'website' job This helper is a shell function transcript of its original GitLab CI counterpart. Signed-off-by: Erik Skultety Reviewed-by: Daniel P. Berrangé --- diff --git a/ci/build.sh b/ci/build.sh index ffcd5385ff..c2ef590e6a 100644 --- a/ci/build.sh +++ b/ci/build.sh @@ -85,3 +85,10 @@ run_rpmbuild() { --define "_without_mingw 1" \ -ta build/meson-dist/libvirt-*.tar.xz } + +run_website_build() { + export DESTDIR="${GIT_ROOT}/install" + BUILD_ARGS="install-web" + + run_build +}