> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ale.run/llms.txt
> Use this file to discover all available pages before exploring further.

# プライベートリポジトリ

> エールでは、GitHubをはじめ、GitLab、Bitbucketなどのプライベートリポジトリのコードもデプロイできるよう、SSH認証をサポートしています。

***

## Git URLの入力とデプロイキーの確認

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/ale-docs/developers/images/ja/06_04.png" />
</Frame>

> ダッシュボードの <Icon icon="circle-plus" iconType="solid" size={15} color="2396F1" /> または `⌘ + K` で表示されるデプロイモーダルで**Gitリポジトリをデプロイ**を選択し、Git URL タブでデプロイしたいリポジトリの**SSH形式のGit URL**を入力すると、 **デプロイキー(Deploy Key)** が表示されます。

## デプロイキーの登録

### GitHub

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/ale-docs/developers/images/ja/06_06.png" />
</Frame>

> デプロイするリポジトリの**Settings > Deploy keys**ページ右上の`Add deploy key`をクリックし、エールで確認したデプロイキーの値を入力してキーを追加します。

### GitLab

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/ale-docs/developers/images/ja/06_07.png" />
</Frame>

> デプロイするリポジトリの**Settings > Repository**ページから、**Deploy keys**セクションの`Expand`をクリックし、`Add new key`をクリックします。表示されたフィールドにエールで確認したデプロイキーの値を入力してキーを追加します。

### Bitbucket

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/ale-docs/developers/images/ja/06_08.png" />
</Frame>

> デプロイするリポジトリの**Repository settings > Access keys**ページで`Add key`をクリックし、エールで確認したデプロイキーの値を入力してキーを追加します。

## デプロイ

### 言語/フレームワークの選択

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/ale-docs/developers/images/ja/06_05.png" />
</Frame>

> デプロイするリポジトリに適したプリセットを選択してください。

<Tip>
  ReactやVueなどのスタティックサイトの場合は、**Web Application**を選択してください。
</Tip>

### 設定とデプロイ

> デプロイの設定と実行については、[エールでデプロイページ](/ja/developers/deploy#2)をご参照ください。
