Add resource to repo