gitlab-ci: cleaner way to config languages for gitlab-ci builds

parent 1044256d
......@@ -63,7 +63,9 @@ test:
- public
- *setup_for_jekyll
- sed -i "s/^\(languages. \).*/\1[ bo, en, fa, zh_Hans ]/" _config.yml
# use the 'gitlab ci' subset of languages
- sed -i 's,^languages:,ignored_languages:,' _config.yml
- sed -i 's,^gitlab_ci_languages:,languages:,' _config.yml
- ./tools/
# This is where GitLab pages will deploy to by default (e.g. "")
# so we need to make sure that the Jekyll configuration understands this.
......@@ -29,6 +29,8 @@ fdroid-repo:
# translated across the whole project. Check with this script:
# ./tools/
languages: [ bo, en, de, es, fr, tr, uk, zh_Hans, zh_Hant ]
# the languages built and deployed when run with gitlab-ci
gitlab_ci_languages: [ bo, en, fa, zh_Hans ]
# Specifying the default language as "_" forces polyglot to generate a
# en/ subdirectory too (with correct links). See
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