Update pledge page to generate pledges for federal divisions.
This commit is contained in:
@@ -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 -
|
||||
|
||||
Reference in New Issue
Block a user