Commit graph

5 commits

Author SHA1 Message Date
cc424bb964
Switch from "restart apache2" to "reload apache2"
No need to do a full restart. Reload will be marginally faster.
2024-03-16 09:07:11 +11:00
62823a9493
Rename bin/deploy.sh to bin/deploy 2024-03-13 14:26:41 +11:00
daf93dc32b
Switch content tests to pytest 2024-03-13 14:26:01 +11:00
aa26e2f7f0
Fix mistaken rename
I meant to rename the deploy script, not the deploy directory.
2024-02-27 10:23:18 +11:00
55ee5b53b6
Add a basic script to "push" deploy
Currently updates are published by the "conservancy-www-update.sh" that does a
"pull" deploy with a 5-minutely job that runs on the web server. This doesn't
run `migrate`, `collectstatic` or restart the application, so certain types of
changes don't take effect, and even template changes often don't due to caching
template loader.

This script allows you to deploy more significant updates on-demand, but
requires SSH access.
2024-02-23 15:39:54 +11:00