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 # Build front-end bundle
# This can take very long and requires > 2GB of RAM
- name: Build front-end for CodiMD - name: Build front-end for CodiMD
command: yarn run build command: NODE_ENV="production" yarn run build
args: args:
chdir: /var/local/codimd/codimd chdir: /var/local/codimd/codimd
become: true become: true

View File

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