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

View File

@@ -25,5 +25,5 @@ deploy:
## Sync the project to the deploy route
- apt-get install rsync -y
- rsync -rvz ./ deployer@142.93.158.54:/var/www/musiclist.danielcortes.xyz/server/
- ssh deployer@142.93.158.54 'sh /var/www/musiclist.danielcortes.xyz/server/deploy.sh'
- ssh deployer@142.93.158.54 'cd /var/www/musiclist.danielcortes.xyz/server/; sh deploy.sh'

View File

@@ -1,3 +1,6 @@
#!/usr/bin/env sh
set -eu
# If venv doesnt exists
[ -d venv/ ] || python3 -m venv venv
# Activate venv