Use nvm to activate node in build scrpit.
This commit is contained in:
parent
e7f6738a27
commit
498fa8519e
@ -2,6 +2,9 @@
|
||||
# cron
|
||||
# 0 4 * * * . /etc/profile; /bin/sh /opt/ld-site/script/build_on_linux.sh >/dev/null 2>&1
|
||||
|
||||
NVM_DIR="/opt/dev_tools/nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
|
||||
script_path="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
original_article_home="/home/ld/Documents/ld_article"
|
||||
original_article_destination="/opt/ld-site/src/content"
|
||||
|
Loading…
Reference in New Issue
Block a user