Fix CodiMD build

This commit is contained in:
Alexandre Iooss 2019-03-04 16:04:36 +01:00
parent 68d246bb24
commit c7f584cae9
2 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,8 @@
---
# Build front-end bundle
# This can take very long and requires > 2GB of RAM
- name: Build front-end for CodiMD
command: yarn run build
command: NODE_ENV="production" yarn run build
args:
chdir: /var/local/codimd/codimd
become: true

View file

@ -17,7 +17,7 @@
# Setup dependencies and configs
- name: Install CodiMD depedencies
command: bin/setup
command: NODE_ENV="production" bin/setup
args:
chdir: /var/local/codimd/codimd
become: true