deploy an index file