Create a branch in core named wmf/beta-try . For each beta / deployment-prep deployment recreate the content for a commit for that branch. Use mediawiki/tools/release.git/make-wmf-branch for that. Push that to gerrit into the branch. Then deploy that on beta like we currently do.
This would prevent bugs like T129371 from happening.