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 <eskultet@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Erik Skultety 2023-08-24 15:49:19 +02:00
parent da0a354476
commit fe9f788812
1 changed files with 7 additions and 0 deletions

View File

@ -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
}