image: alpine:latest # Use the latest version of Alpine Linux docker image pages: before_script: - apk update && apk add git - git clone --depth 5 https://gitlab.com/curben/urlhaus-filter.git urlhaus-filter/ script: - mkdir -p public/ - cp urlhaus-filter/urlhaus-filter-* public/ - find public -type f -regex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -exec gzip -f -k -9 {} \; artifacts: paths: - public/ rules: - if: '$CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule"' when: always - if: '$CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "web"' when: always