Merge pull request 'Add env for Crowdin to build_trans task' (#39) from crowdin-env into main

Reviewed-on: plume/joinplu.me#39
This commit is contained in:
KitaitiMakoto 2020-12-03 15:11:10 +00:00
commit 3c6d2f093f

View file

@ -20,7 +20,8 @@ end
desc "Build site for translation"
task :build_trans do
sh "middleman", BUILD_DIR, "--build-dir", TRANS_DIR
env = {"CROWDIN" => "on"}
sh env, "middleman", BUILD_DIR, "--build-dir", TRANS_DIR
end
namespace :crowdin do