server_config/website/_deploy.sh

12 lines
219 B
Bash

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