Skip to content

Commit

Permalink
move deploy setting on direnv envrc
Browse files Browse the repository at this point in the history
  • Loading branch information
sirodoht committed Oct 19, 2021
1 parent da59af7 commit 8a76f6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
db/
music/
.envrc
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -x
git push origin master

# pull and reload on server
ssh [email protected] 'cd /home/srv-dstream/dstream \
ssh $DSTREAM_USER@$DSTREAM_HOST 'cd /home/srv-dstream/dstream \
&& git pull \
&& sudo -u srv-dstream npm install \
&& systemctl restart dstream.service'

0 comments on commit 8a76f6d

Please sign in to comment.