[Embulk]if文での制御構文で環境変数指定する場合

LINEで送る
Pocket

{% if env.EMBULK_ENV == 'production' %}{% include 'db/prod_adachin' %}
{% elsif env.EMBULK_ENV == 'staging' %}{% include 'db/stg_adachin' %}
{% else %}{% include 'db/dev_adachin' %}
{% endif %}

Was this helpful?

0 / 0

コメントを残す 0

Your email address will not be published. Required fields are marked *