Move output archival from before_deploy into script section