Corregido

This commit is contained in:
Daniel Cortes
2020-06-03 07:19:15 -04:00
parent 066be1e0d4
commit 75de0c0a80
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -25,5 +25,5 @@ deploy:
## Sync the project to the deploy route
- apt-get install rsync -y
- rsync -rvz ./ [email protected]:/var/www/musiclist.danielcortes.xyz/server/
- ssh [email protected] 'sh /var/www/musiclist.danielcortes.xyz/server/deploy.sh'
- ssh [email protected] 'cd /var/www/musiclist.danielcortes.xyz/server/; sh deploy.sh'
+3
View File
@@ -1,3 +1,6 @@
#!/usr/bin/env sh
set -eu
# If venv doesnt exists
[ -d venv/ ] || python3 -m venv venv
# Activate venv