14 lines
297 B
Bash
Executable File
14 lines
297 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "cloning ..."
|
|
git pull origin master
|
|
|
|
echo "collecting static files ..."
|
|
cd /home/willipink/coinmanager/coinmanager
|
|
pipenv run python manage.py collectstatic --settings coinmanager.production_settings --no-input
|
|
|
|
echo "reloading apache ..."
|
|
sudo systemctl reload apache2
|