server_config/website/_deploy.sh

12 lines
219 B
Bash
Raw Normal View History

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