Commit 7f7d88a2 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] Disabling CI pages should be done by removing the `pages` job as well

parent 61e820f7
......@@ -47,29 +47,29 @@ build:
script:
- yarn
pages:
<<: *nvm_env
stage: pages
cache: {}
script:
- yarn
- yarn doc
- mkdir -p public
- cp .gitlab/pages/pages-index.html public/index.html
- sed -i "s/{BRANCH}/$CI_COMMIT_REF_NAME/g" public/index.html
- mv typedoc public/
- echo "$CI_JOB_ID"
- curl "https://git.duniter.org/nodes/typescript/duniter/-/jobs/$CI_JOB_ID/artifacts/raw/coverage.tar.gz"
- tar xzf coverage.tar.gz
- mv coverage "public/coverage"
- ls public
artifacts:
untracked: true
paths:
- public
only:
- loki
- dev
#pages:
# <<: *nvm_env
# stage: pages
# cache: {}
# script:
# - yarn
# - yarn doc
# - mkdir -p public
# - cp .gitlab/pages/pages-index.html public/index.html
# - sed -i "s/{BRANCH}/$CI_COMMIT_REF_NAME/g" public/index.html
# - mv typedoc public/
# - echo "$CI_JOB_ID"
# - curl "https://git.duniter.org/nodes/typescript/duniter/-/jobs/$CI_JOB_ID/artifacts/raw/coverage.tar.gz"
# - tar xzf coverage.tar.gz
# - mv coverage "public/coverage"
# - ls public
# artifacts:
# untracked: true
# paths:
# - public
# only:
# - loki
# - dev
test:
<<: *nvm_env
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment