17 lines
255 B
Bash
Executable File
17 lines
255 B
Bash
Executable File
#!/bin/sh
|
|
|
|
dir_path="$1"
|
|
build_file="$2"
|
|
app="hudozka"
|
|
script="forever.json"
|
|
|
|
cd ${dir_path}
|
|
|
|
gunzip -c ${build_file} | tar xopf -
|
|
|
|
#rm build.tar
|
|
|
|
npm install --production --loglevel error
|
|
|
|
echo "Deploying finish. Please restart hudozka.service manually"
|