|
|
|
|
|
by sillysaurus3
3386 days ago
|
|
One solution is to set up a droplet which serves a website from /home/deploy/web/site/ on the server. Then to deploy: rsync -Pa ./site/ deploy@your-domain.com:/home/deploy/web/site/ Note: The trailing slashes are important. I use nodemon to watch /home/deploy/web/site/ for changes, which restarts the server. There are tools like nodemon for whatever stack you're using (rails, etc). |
|