Fix CodiMD build
This commit is contained in:
parent
68d246bb24
commit
c7f584cae9
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue