Skip to content
Snippets Groups Projects
Commit 2ca94181 authored by Yassine Doghri's avatar Yassine Doghri
Browse files

ci(docs): fix i18n-filter and build outDir path

parent b345c7ec
No related branches found
No related tags found
No related merge requests found
Pipeline #17803 passed
Pipeline: Castopod

#17807

    ......@@ -11,7 +11,7 @@ stages:
    - pnpm config set store-dir .pnpm-store
    - cd docs
    - chmod +x ./scripts/i18n-filter.sh
    - ./scripts/i18n-filter.sh src
    - ./scripts/i18n-filter.sh src/content/docs
    - pnpm install
    cache:
    ......@@ -40,7 +40,7 @@ build-production:
    name: production
    url: https://docs.castopod.org/
    script:
    - pnpm run build --outDir=docs/dist/$CI_COMMIT_REF_SLUG --base=$CI_COMMIT_REF_SLUG
    - pnpm run build --outDir=./dist/$CI_COMMIT_REF_SLUG --base=$CI_COMMIT_REF_SLUG
    artifacts:
    paths:
    - docs/dist/$CI_COMMIT_REF_SLUG
    ......
    assets
    styles
    env.d.ts
    content/config.ts
    content/docs/en
    content/docs/ca
    content/docs/de
    content/docs/es
    content/docs/fr
    content/docs/nn-no
    content/docs/pt-br
    content/docs/sr-latn
    content/docs/zh-hans
    en
    ca
    de
    es
    fr
    nn-no
    pt-br
    sr-latn
    zh-hans
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment