Loading .gitlab-ci.yml +4 −3 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
.gitlab-ci.yml +4 −3 Original line number Diff line number Diff line Loading @@ -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 Loading