Files
365devnet/deploy.sh
Richard Bergsma 758c07baf1
Some checks failed
GitHub Actions / build (18) (push) Has been cancelled
GitHub Actions / build (20) (push) Has been cancelled
GitHub Actions / build (22) (push) Has been cancelled
GitHub Actions / check (push) Has been cancelled
webhook code for automaticl deployment
2025-05-09 23:35:40 +02:00

16 lines
254 B
Bash

#!/bin/bash
# Navigate to the project directory
cd /path/to/your/project
# Pull the latest changes
git pull
# Install dependencies
npm install
# Build the project
npm run build
# Optional: Restart your web server if needed
# systemctl restart nginx