server_config/website/_deploy.sh

12 lines
228 B
Bash

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