Add env for Crowdin to build_trans task

This commit is contained in:
Kitaiti Makoto 2020-12-03 20:17:40 +09:00
parent e78da67f14
commit 6d072cc185

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