Skip to content
Snippets Groups Projects
Verified Commit 3b50a6ba authored by Jérôme Charaoui's avatar Jérôme Charaoui :telescope:
Browse files

make artifacts configuration more granular

this is to allow easier overrides in specific projects
parent 2a1de2e0
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,6 @@ include:
post-build:
- echo "Nothing to do for lektor post-build."
artifacts:
expire_in: 1 week
paths:
- public
- i18n/*.po
......@@ -97,7 +96,10 @@ build:
script:
- !reference [.lektor, scripts, build]
- !reference [.lektor, scripts, post-build]
artifacts: !reference [.lektor, artifacts]
artifacts:
expire_in: 1 week
paths: !reference [.lektor, artifacts, paths]
exclude: !reference [.lektor, artifacts, exclude]
rules:
- if: $L10N_STAGING || $CI_PROJECT_NAMESPACE == "tpo/web/l10n"
when: never
......@@ -114,7 +116,6 @@ partial-build:
- !reference [.setup-lektor-partial-build]
artifacts:
expire_in: 1 hour
paths: !reference [.lektor, artifacts, paths]
rules:
- if: $L10N_STAGING || $CI_PROJECT_NAMESPACE == "tpo/web/l10n"
when: never
......@@ -129,7 +130,6 @@ l10n-staging-build:
- !reference [.lektor, scripts, setup-l10n-staging]
artifacts:
expire_in: 1 hour
paths: !reference [.lektor, artifacts, paths]
rules:
- if: $L10N_STAGING && $LEKTOR_PARTIAL_BUILD == null && $CI_COMMIT_BRANCH
......@@ -144,7 +144,6 @@ l10n-staging-partial-build:
- !reference [.setup-lektor-partial-build]
artifacts:
expire_in: 1 hour
paths: !reference [.lektor, artifacts, paths]
rules:
- if: $L10N_STAGING && $LEKTOR_PARTIAL_BUILD && $CI_COMMIT_BRANCH
......
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