21 lines
548 B
YAML
21 lines
548 B
YAML
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/
|
|
|
|
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
|