Loading .gitlab-ci.yml +6 −4 Original line number Diff line number Diff line Loading @@ -216,13 +216,12 @@ upload: pages: stage: upload # image: curlimages/curl:latest needs: - job: prepare artifacts: true - job: build-job artifacts: true rules: - !reference [.default_rules, rules] script: # Get the previous GitLab Pages content # - set +e Loading @@ -235,11 +234,14 @@ pages: # Zip the content and publish the zip again - zip -r "content.zip" "public" - mv "content.zip" "public/" # - mv $SITE_ARCHIVE "public/content.zip" artifacts: paths: - public only: - tags rules: - !reference [.default_rules, rules] # only: # - tags release: stage: release Loading Loading
.gitlab-ci.yml +6 −4 Original line number Diff line number Diff line Loading @@ -216,13 +216,12 @@ upload: pages: stage: upload # image: curlimages/curl:latest needs: - job: prepare artifacts: true - job: build-job artifacts: true rules: - !reference [.default_rules, rules] script: # Get the previous GitLab Pages content # - set +e Loading @@ -235,11 +234,14 @@ pages: # Zip the content and publish the zip again - zip -r "content.zip" "public" - mv "content.zip" "public/" # - mv $SITE_ARCHIVE "public/content.zip" artifacts: paths: - public only: - tags rules: - !reference [.default_rules, rules] # only: # - tags release: stage: release Loading