Commit 11768bb5 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

+ fixes for prepare and CI scripts

parent fd88abec
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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/"
+3 −2
Original line number Diff line number Diff line
@@ -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"