Repositories

The deploy key and the webhook secret for a Git repository aren't stored with a project. They live in a repository record, which every project on that repository shares, so you set up access and the webhook once, however many branches you deploy.

You never create a repository record yourself. The app creates one when you add the first project for a repository, and later projects for the same repository join it. Two addresses count as the same repository whether you write them as HTTPS or SSH, with or without .git at the end, and in any letter case. So https://github.com/You/Site and git@github.com:you/site.git share one record.

The Repositories page

Choose Repositories in the main menu to see every record, with:

  • Repository: the owner and name, such as you/site. For other Git hosts, the host and path.
  • Provider: github, or generic for other hosts.
  • Projects: how many projects use it. Orphan means none do.
  • Deploy key: Installed when the record has a deploy key, None when it doesn't.
  • Updated: when the record was created. Later changes, such as a new deploy key, don't move this date.

Choose a repository to open it. Its page has three tabs:

  • Access: the deploy key and the webhook setup. These are the same sections a project shows in its Settings, so you can manage them from either place.
  • Projects: the projects that use this repository.
  • Settings: the record's ID, address, provider and dates, and the option to remove it.

Shared access

A change to the record affects every project on the repository:

  • Generating a deploy key gives all of them access. Deleting it takes access away from all of them, until you generate a new key and add it on GitHub.
  • One webhook on GitHub serves all of them. When you push, the app deploys each project that tracks the pushed branch, including one you haven't cloned yet, and ignores the rest.

Orphan repositories

Deleting a project leaves its repository record in place, even when no other project uses it. That way, if you create a project for the same repository again, its deploy key and webhook on GitHub keep working without any changes.

Remove a repository

Open the repository's Settings tab and choose Remove Repository. You can only remove a repository that no project uses, so delete its projects first.

Removing it deletes the deploy key and the webhook secret from your server, and can't be undone. Your repository on GitHub isn't touched: the deploy key and the webhook you added there stay until you delete them in its settings. They no longer work, since the app no longer has the private key or the secret.