add generate secret token to deploy methods