diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a14072a2ae0bc9da63edb33624e03aed22502b77..68aac6539a0daf0796419ec1d1b51e94783bd28f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -256,7 +256,7 @@ pages: - chmod +x prepare.sh - ./prepare.sh $RELEASE_BASE_URL $RELEASE_KEY $SITE_PATH $RELEASE_BASE_PATH - cp -r -f $SITE_PATH/* $RELEASE_PATH - - find $RELEASE_BASE + - find $RELEASE_BASE_PATH # Zip the content and publish the zip again #- zip -r "content.zip" "public" #- mv "content.zip" "public/" diff --git a/prepare.sh b/prepare.sh index 569e55ea8ef455f7de45642f3ba0e01f6604f1de..519451d10dd726605db41bed632a0c189cf17d89 100755 --- a/prepare.sh +++ b/prepare.sh @@ -43,6 +43,9 @@ process_contents() { cp -r -f $channel/* $RELEASE_BASE_PATH/$channel } +# update contents +update_contents "$SITE_PATH" + # process opposite channel if [ "$TARGET_CHANNEL" == "beta" ]; then process_contents "main" @@ -50,8 +53,6 @@ else process_contents "beta" fi -# update contents -update_contents "$SITE_PATH" # Debugging # BASE_URL="https://top.etsi.org/top-extras/updatesite"