Skip to content

Commit

Permalink
update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
sirodoht committed Oct 19, 2021
1 parent 5947db4 commit c5a44b0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/local/bin/bash

set -e
set -x

# push origin
git push origin master

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

0 comments on commit c5a44b0

Please sign in to comment.