Update pledge page to generate pledges for federal divisions.

This commit is contained in:
Kim Taylor
2025-03-04 22:28:19 +11:00
parent f5f04d01eb
commit 9b9c1a6869
2 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
# The folder containing data for each council.
# Includes the list of candidates and any media.
DATA_PATH="../spl-data"
DATA_PATH="../spl-data/federal_2025"
DEFAULT_IMAGE="../spl-data/default.png.json"
# Iterate over folders in data path
@@ -22,4 +22,4 @@ done
content=$(php pledge-update/pledge-page.php --candidates-files "${candidates_files[*]}" \
--default-image $DEFAULT_IMAGE)
echo "$content" | wp post update 12106 -
echo "$content" | wp post update 245816 -