Commit b0c08973 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

* this should do it..

parent 5d699c69
Loading
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -146,12 +146,11 @@ build-job: # This job runs in the build stage, which runs first.
    - !reference [.default_rules, rules]
  script:
    # Test zip installation
    - rm -rf /var/lib/apt/lists/*
    - apt update
    - apt-cache gencaches
    - apt install -y zip unzip
    - apt install zip unzip -y
    - zip --help
    # - rm -rf /var/lib/apt/lists/*
    # - apt update
    # - apt-cache gencaches
    # - apt install -y zip unzip
    # - zip --help
    - echo "Compiling the code..."
    - echo "BUILD_JOB_ID=$CI_JOB_ID" >> build.env
    - cat build.env
@@ -237,8 +236,12 @@ pages:
      artifacts: true
  script:
    # Get the previous GitLab Pages content (otherwise other beta/stable branch gets removed..)
    - rm -rf /var/lib/apt/lists/*
    - apt update
    - apt-cache gencaches
    - apt install -y zip unzip
    - zip --help
    - set +e
    - apt install zip unzip -y
    - curl --fail "$CI_PAGES_URL/content.zip" -o "content.zip"
    - if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; fi
    - set -e