Closed cjyabraham closed 1 year ago
Consider triggering WPCLI commands from the GitHub Action instead of calling the front-end API through HTTP
Here's an article about remote server access via wp-cli, it's fairly undocumented, but this gives some nice examples https://jmichaelward.com/using-wp-cli-to-import-a-remote-database/
This could also possibly be applied to the landscape sync for project data and perhaps other links.
PR has been merged. Copying over the todo items:
public
to false for the people CPT after proving this worksI used the WP Control plugin to go in and delete the twice/daily people sync operation. Now it will only happen when the on a merge operation for a PR in the People repo.
I've updated the readme to describe when to expect PR updates to be reflected on the CNCF site.
When people merge a PR into the People repo they often expect their changes to be reflected on the live CNCF site immediately whereas it normally updates only twice/day. See if I can hook up a GitHub action to automatically sync the live site.
Write script to hit API endpoint which re-imports people and clears the cache on people URLs