Loading .gitlab-ci.yml +4 −1 Changes for .gitlab-ci.yml: 4 added lines, 1 removed line. Original line number Original line Diff line number Diff line Loading @@ -222,7 +222,7 @@ upload-job: pages: pages: stage: upload stage: upload # image: curlimages/curl:latest # image: curlimages/curl:latest image: alpine # image: alpine needs: needs: - job: prepare-job - job: prepare-job artifacts: true artifacts: true Loading @@ -231,6 +231,7 @@ pages: script: script: # Get the previous GitLab Pages content (otherwise other beta/stable branch gets removed..) # Get the previous GitLab Pages content (otherwise other beta/stable branch gets removed..) - set +e - set +e - apt install zip unzip -y - curl --fail "$CI_PAGES_URL/content.zip" -o "content.zip" - curl --fail "$CI_PAGES_URL/content.zip" -o "content.zip" - if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; fi - if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; fi - set -e - set -e Loading Loading @@ -262,6 +263,8 @@ release-job: artifacts: true artifacts: true - job: build-job - job: build-job artifacts: true artifacts: true - job: pages artifacts: true rules: rules: - !reference [.default_rules, rules] - !reference [.default_rules, rules] script: script: Loading Loading
.gitlab-ci.yml +4 −1 Changes for .gitlab-ci.yml: 4 added lines, 1 removed line. Original line number Original line Diff line number Diff line Loading @@ -222,7 +222,7 @@ upload-job: pages: pages: stage: upload stage: upload # image: curlimages/curl:latest # image: curlimages/curl:latest image: alpine # image: alpine needs: needs: - job: prepare-job - job: prepare-job artifacts: true artifacts: true Loading @@ -231,6 +231,7 @@ pages: script: script: # Get the previous GitLab Pages content (otherwise other beta/stable branch gets removed..) # Get the previous GitLab Pages content (otherwise other beta/stable branch gets removed..) - set +e - set +e - apt install zip unzip -y - curl --fail "$CI_PAGES_URL/content.zip" -o "content.zip" - curl --fail "$CI_PAGES_URL/content.zip" -o "content.zip" - if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; fi - if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; fi - set -e - set -e Loading Loading @@ -262,6 +263,8 @@ release-job: artifacts: true artifacts: true - job: build-job - job: build-job artifacts: true artifacts: true - job: pages artifacts: true rules: rules: - !reference [.default_rules, rules] - !reference [.default_rules, rules] script: script: Loading