Use API to pull from loco

This commit is contained in:
Jannis Portmann 2021-06-19 12:33:11 +02:00
parent 460005c0b0
commit 01db6b0f60

View file

@ -26,8 +26,8 @@ RUN yarn install && \
yarn build yarn build
# Pull translation # Pull translation
RUN php bin/console translation:pull loco --locales=en RUN curl https://localise.biz/api/export/locale/en.yml?key=RCrByb141Z9P3QjMhWgHrqRrdxu9x-Rro&format=symfony > translations/messages.en.yml
RUN php bin/console translation:pull loco --locales=de RUN curl https://localise.biz/api/export/locale/de.yml?key=RCrByb141Z9P3QjMhWgHrqRrdxu9x-Rro&format=symfony > translations/messages.de.yml
RUN cp .env.staging .env RUN cp .env.staging .env