Fix CodiMD build

pull/1/head
Alexandre Iooss 5 years ago
parent 68d246bb24
commit c7f584cae9

@ -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

@ -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

Loading…
Cancel
Save