Commit graph

11 commits

Author SHA1 Message Date
82f8fbb758
supporters: Add sustainer form with pre-canned amount options 2024-10-22 23:52:35 +11:00
1a5441ba75
Fix tests
These were failing due to pytest defaulting to `DEBUG = False` (and then getting
`ValueError: Missing staticfiles manifest entry for ...`).
2024-07-22 16:56:25 +10:00
83550a56a3
Set ownership during deploy 2024-05-07 09:48:36 +10:00
477a5d0ef5
Add linkcheck script 2024-03-20 15:54:18 +11:00
2b709f61e0
Make bin/deploy abort if there's an error with git push
For example, your push failed because there's upstream changes.
2024-03-20 14:18:59 +11:00
e93f864e0e
Update bin/deploy to use production settings 2024-03-20 14:18:46 +11:00
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