From 36de25bf60581497f152caa8e5fe67ab5cbb0dc8 Mon Sep 17 00:00:00 2001 From: John Hess Date: Tue, 14 May 2024 15:42:59 -0500 Subject: [PATCH] publish content.zip --- .gitlab-ci.yml | 7 +++++-- _config.yml | 28 +++++++--------------------- 2 files changed, 12 insertions(+), 23 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d13033d..cc2a5ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,9 +31,12 @@ build: pages: stage: deploy script: - - bundle exec jekyll build -d public + - apt-get update + - apt-get install -y zip + - bundle exec jekyll build -d butter-site + - zip -r content.zip butter-site artifacts: paths: - - public + - content.zip only: - master \ No newline at end of file diff --git a/_config.yml b/_config.yml index 8c5fbca..873c902 100644 --- a/_config.yml +++ b/_config.yml @@ -6,7 +6,13 @@ url: "" # the base hostname & protocol for your site, e.g. http://example.com twitter_username: Butter App github_username: Butter App logo: "/assets/images/butter-app-logo-small.svg" -languages: ['en', 'es'] # powered by jekyll-multiple-languages-plugin +# powered by jekyll-multiple-languages-plugin +# During install, one row will be removed and the placeholder will be replaced with that code. +languages: [ + 'en', + 'es', + 'zh_Hans', +] # Build settings sass: @@ -16,23 +22,3 @@ sass: plugins: - jekyll-feed - jekyll-multiple-languages-plugin - -# Exclude from processing. -# The following items will not be processed, by default. -# Any item listed under the `exclude:` key here will be automatically added to -# the internal "default list". -# -# Excluded items can be processed by explicitly listing the directories or -# their entries' file path in the `include:` list. -# -# exclude: -# - .sass-cache/ -# - .jekyll-cache/ -# - gemfiles/ -# - Gemfile -# - Gemfile.lock -# - node_modules/ -# - vendor/bundle/ -# - vendor/cache/ -# - vendor/gems/ -# - vendor/ruby/