#!/bin/bash # This script deploys your website to your VPS # Build the site echo "Building the site..." npx parcel build index.html # Deploy to VPS echo "Deploying to VPS..." rsync -avz --delete dist/ root@boilerhaus.org:/var/www/boilerhaus.org/ # Push changes to Gitea echo "Pushing changes to Gitea..." git add . git commit -m "Update website content" || echo "No changes to commit" git push origin main echo "Deployment complete!"