Revert "Move asset logic from pre_build to deploy"

This was a premature commit.

This reverts commit cf6040b9e4c53008c9ac43883532371c2d52ffab.