webhook code for automaticl deployment
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

This commit is contained in:
2025-05-09 23:35:40 +02:00
parent 1a79ec5a66
commit 758c07baf1
2 changed files with 80 additions and 0 deletions

16
deploy.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/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