Skip to content

Commit

Permalink
build(mydevil): Fix deployment
Browse files Browse the repository at this point in the history
Use nuxt-start script instead of custom one, by symlinking it to app.js
  • Loading branch information
k911 committed Sep 21, 2018
1 parent 363dc67 commit be87e14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 31 deletions.
4 changes: 3 additions & 1 deletion deploy/mydevil-post-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ export PATH=~/.npm-global/bin:~/bin:$PATH
cd ~/domains/knit-test-homepage.tk/public_nodejs
rm -rf node_modules
yarn install
devil www restart knit-test-homepage.tk
mkdir public
cp -R src/static/* public
ln -s ../.nuxt/dist/client public/_nuxt
yarn build
ln -s ./node_modules/nuxt/bin/nuxt-start ./app.js
devil www restart knit-test-homepage.tk
30 changes: 0 additions & 30 deletions deploy/mydevil-run.js

This file was deleted.

0 comments on commit be87e14

Please sign in to comment.