diff --git a/ci.sh b/ci.sh new file mode 100644 index 00000000..0eaa1817 --- /dev/null +++ b/ci.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +# Workaround needed for Konflux pipeline to pass + +find -name "cockpit" -type d +find -name "cockpit" -type d | xargs rm -rf - + +setNpmOrYarn +install +build +if [ "$IS_PR" == true ]; then + verify +else + export BETA=false + build + source build_app_info.sh + mv ${DIST_FOLDER} stable + export BETA=true + build + source build_app_info.sh + mv ${DIST_FOLDER} preview + mkdir -p ${DIST_FOLDER} + mv stable ${DIST_FOLDER}/stable + mv preview ${DIST_FOLDER}/preview +fi + +# End workaround \ No newline at end of file