server_config/portfolio_server/_deploy.sh

12 lines
264 B
Bash

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