Commit 44cae377 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

Update .gitlab-ci.yml file

parent 22539452
Loading
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -229,12 +229,13 @@ pages:
    # - if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; fi
    # - set -e
    # Add/update content
    - echo $CI_PAGES_URL
    - mkdir -p $BETA_PATH
    - cp -r -f $SITE_PATH/* $BETA_PATH
    # Zip the content and publish the zip again
    - zip -r "content.zip" "public"
    - mv "content.zip" "public/"
    # - mv $SITE_ARCHIVE "public/content.zip"
    # - zip -r "content.zip" "public"
    # - mv "content.zip" "public/"
    - mv $SITE_ARCHIVE $BETA_PATH/content.zip"
  artifacts:
    paths:
      - public