mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +00:00
ci(docs): fix i18n-filter and build outDir path
This commit is contained in:
parent
b345c7ecd2
commit
2ca9418138
@ -11,7 +11,7 @@ stages:
|
|||||||
- pnpm config set store-dir .pnpm-store
|
- pnpm config set store-dir .pnpm-store
|
||||||
- cd docs
|
- cd docs
|
||||||
- chmod +x ./scripts/i18n-filter.sh
|
- chmod +x ./scripts/i18n-filter.sh
|
||||||
- ./scripts/i18n-filter.sh src
|
- ./scripts/i18n-filter.sh src/content/docs
|
||||||
- pnpm install
|
- pnpm install
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
@ -40,7 +40,7 @@ build-production:
|
|||||||
name: production
|
name: production
|
||||||
url: https://docs.castopod.org/
|
url: https://docs.castopod.org/
|
||||||
script:
|
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:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- docs/dist/$CI_COMMIT_REF_SLUG
|
- docs/dist/$CI_COMMIT_REF_SLUG
|
||||||
|
@ -1,13 +1,9 @@
|
|||||||
assets
|
en
|
||||||
styles
|
ca
|
||||||
env.d.ts
|
de
|
||||||
content/config.ts
|
es
|
||||||
content/docs/en
|
fr
|
||||||
content/docs/ca
|
nn-no
|
||||||
content/docs/de
|
pt-br
|
||||||
content/docs/es
|
sr-latn
|
||||||
content/docs/fr
|
zh-hans
|
||||||
content/docs/nn-no
|
|
||||||
content/docs/pt-br
|
|
||||||
content/docs/sr-latn
|
|
||||||
content/docs/zh-hans
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user