ci(pages): path must be public/ folder

This commit is contained in:
MDLeom 2020-10-08 03:39:51 +00:00
parent 33396b869d
commit 66343ae342
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 2 additions and 3 deletions

View File

@ -6,13 +6,12 @@ pages:
- git clone --depth 5 https://gitlab.com/curben/urlhaus-filter.git urlhaus-filter/ - git clone --depth 5 https://gitlab.com/curben/urlhaus-filter.git urlhaus-filter/
script: script:
- cd urlhaus-filter/
- mkdir -p public/ - mkdir -p public/
- cp urlhaus-filter-* public/ - cp urlhaus-filter/urlhaus-filter-* public/
artifacts: artifacts:
paths: paths:
- urlhaus-filter/public/ - public/
rules: rules:
- if: '$CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule"' - if: '$CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule"'