server_config/website/_deploy.sh

12 lines
228 B
Bash
Raw Normal View History

# Pull website sources
cd /srv/www
git pull origin main
# Setup website service
cp ./website/systemd/website.service /etc/systemd/system
# Start website
systemctl daemon-reload
systemctl enable website
systemctl start website