Source Operations sorcery for WordPress
Blog post from Upsun
Source Operations is a feature offered by Upsun that enables users to automate updates and manage changes in WordPress environments, even in setups that pose compatibility challenges like vanilla WordPress. Initially exclusive to certain plans on Platform.sh, this capability is now available across all Upsun plans, allowing users to execute commands that commit changes to their project's repository, such as automatic dependency updates using Composer. For traditional WordPress setups, Source Operations facilitate updates by providing access to a writable file system where changes can be made, although users must be cautious of potential security risks, such as API token exposure. The process involves setting up a project environment with necessary API tokens, configuring build dependencies, and employing the WordPress CLI for updates, which can be automated using cron jobs to ensure regular maintenance. Despite the convenience, users are advised to test and refine these operations to address potential limitations and ensure best practices are followed.